Skip to content

Commit

Permalink
fix(build): change to use plain es2015 trans
Browse files Browse the repository at this point in the history
  • Loading branch information
crobinson42 committed Apr 10, 2017
1 parent 44d0f85 commit 35699fc
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 257 deletions.
238 changes: 1 addition & 237 deletions build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.js.map

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion bundle.js.map

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-json": "^2.1.1",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-uglify": "^1.0.1",
"rollup-watch": "^3.2.2",
"semantic-release": "^6.3.2",
"sinon": "^2.1.0"
Expand Down
2 changes: 2 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import json from 'rollup-plugin-json'
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import resolve from 'rollup-plugin-node-resolve'
import uglify from 'rollup-plugin-uglify'

export default {
entry: 'src/main.js',
Expand All @@ -14,6 +15,7 @@ export default {
babel({
exclude: 'node_modules/**',
}),
uglify(),
],
dest: 'build.js',
sourceMap: true,
Expand Down
7 changes: 3 additions & 4 deletions src/.babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"presets": [
["latest", {
"es2015": {
"modules": false
}
["es2015",
{
"modules": false
}]
],
"plugins": ["external-helpers", "transform-object-rest-spread"],
Expand Down

0 comments on commit 35699fc

Please sign in to comment.