Skip to content

Commit

Permalink
fix(build): runtime gen
Browse files Browse the repository at this point in the history
  • Loading branch information
crobinson42 committed Apr 18, 2017
1 parent 87ebfd3 commit 368c385
Show file tree
Hide file tree
Showing 7 changed files with 481 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015"]
}
}
4 changes: 1 addition & 3 deletions build.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "event-sky",
"version": "0.0.0-development",
"publishConfig": {"tag": "next"},
"publishConfig": {
"tag": "next"
},
"release": {
"branch": "develop"
},
Expand Down Expand Up @@ -42,8 +44,10 @@
"babel-jest": "^19.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-latest": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"browser-sync": "^2.18.8",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.0",
Expand Down
7 changes: 4 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ export default {
format: 'umd',
moduleName: 'EventSky',
plugins: [
resolve(),
commonjs(),
json(),
babel({
exclude: 'node_modules/**',
runtimeHelpers: true,
}),
resolve(),
commonjs(),
json(),
uglify(),
],
dest: 'build.js',
Expand Down
5 changes: 4 additions & 1 deletion src/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
}
]
],
"plugins": ["external-helpers", "transform-object-rest-spread"],
"plugins": [
"transform-runtime",
"transform-object-rest-spread"
],
"env": {
"jest/globals": true
}
Expand Down
Loading

0 comments on commit 368c385

Please sign in to comment.