Skip to content

Commit

Permalink
Make build faster
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Sep 1, 2017
1 parent 6fe6206 commit f6b5c70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"live": "live-server ./test/examples",
"jison": "gulp jison_legacy",
"live_server": "gulp live-server",
"prepublishOnly": "yarn release && yarn test"
"prepublishOnly": "yarn build && yarn release && yarn test"
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const webConfig = () => {
rules: rules.concat([
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
Expand Down Expand Up @@ -63,6 +64,7 @@ export const nodeConfig = () => {
rules: rules.concat([
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
Expand Down

0 comments on commit f6b5c70

Please sign in to comment.