Skip to content

Commit d9a4471

Browse files
[added] creation of material-motion.bundle.js to yarn run build
Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3506
1 parent 5ccc062 commit d9a4471

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"lint": "../../node_modules/.bin/tslint -c ../../tslint.json --project tsconfig.json --type-check",
1111
"lint-ci": "yarn run lint --out $CIRCLE_TEST_REPORTS/tslint/core.xml --formatters-dir ../../node_modules/tslint-junit-formatter/formatters --format junit",
12-
"build": "yarn run clean; ../../node_modules/.bin/tsc",
12+
"build": "yarn run clean; ../../node_modules/.bin/tsc; ../../node_modules/.bin/rollup --config ./rollup.config.js",
1313
"clean": "rm -rf ./dist/*; mkdir -p ./dist/",
1414
"test": "node ../../tools/test.js --only core"
1515
},

packages/core/rollup.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ export default {
2727
'fast-equals',
2828
],
2929
}),
30-
typescript(),
30+
typescript({
31+
tsconfigOverride: {
32+
compilerOptions: {
33+
declaration: false,
34+
},
35+
},
36+
}),
3137
renameSymbolObservable(),
3238
unifyLicenses(),
3339
],

0 commit comments

Comments
 (0)