Skip to content

Commit

Permalink
chore(build): apply babel-plugin-external-helpers to non-demo bundle (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh authored and marijohannessen committed Aug 24, 2017
1 parent e4edb0c commit 7b9c3cb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
File renamed without changes.
13 changes: 0 additions & 13 deletions demo/.babelrc

This file was deleted.

1 change: 1 addition & 0 deletions tools/rollup.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
}),
babel({
exclude: 'node_modules/**',
plugins: ['external-helpers'],
}),
],
dest: 'demo/demo.js',
Expand Down
7 changes: 2 additions & 5 deletions tools/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ module.exports = {
sourceMap: false,
}),
babel({
exclude:
[
'node_modules/**',
], // only transpile our source code

exclude: ['node_modules/**'], // only transpile our source code
plugins: ['external-helpers'],
}),
],
dest: 'scripts/carbon-components.js',
Expand Down

0 comments on commit 7b9c3cb

Please sign in to comment.