Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit c5381fe

Browse files
committed
feat(config): building was improved and fixed
1 parent 9ec9854 commit c5381fe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"source": "rollup -c --sourcemap",
1313
"prepublish": "npm run source && npm run build",
1414
"dev": "rollup -c -w --sourcemap",
15-
"dist_test": "npm run dist && npm run test",
1615
"test": "npm run test-unit && npm run test-correctness && npm run test-style",
1716
"test-unit": "nodeunit test/unit/nodeunitheadless.js",
1817
"test-correctness": "jshint --config test/jshintrc src/Tween.js",

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { BUILD } = process.env;
66

77
const plugins = [ buble() ];
88

9-
let moduleName = 'TWEEN';
9+
let moduleName = 'Tween';
1010
let destFile = 'dist/' + moduleName;
1111

1212
if ( BUILD === 'prod' ) {
@@ -20,6 +20,6 @@ export default {
2020
entry: 'src/Tween.js',
2121
format: 'umd',
2222
dest: destFile, // equivalent to --output
23-
moduleName: moduleName,
23+
moduleName: moduleName.toUpperCase(),
2424
plugins: plugins
2525
}

0 commit comments

Comments
 (0)