Skip to content

Commit

Permalink
Small changes to npm script and removed console.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Bijaoui committed Feb 16, 2017
1 parent 11303d4 commit 3011bb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"main": "dist/vfg.js",
"scripts": {
"prebuild": "npm run test",
"build:core": "webpack --progress --config webpack.build.config.js --define process.env.FULL_BUNDLE=false --output-filename=vfg-core.js",
"build:full": "cross-env FULL_BUNDLE=true webpack --progress --config webpack.build.config.js --define process.env.FULL_BUNDLE=true",
"build:core": "cross-env FULL_BUNDLE=false webpack --progress --config webpack.build.config.js --define process.env.FULL_BUNDLE=false --output-filename=vfg-core.js",
"build:full": "cross-env FULL_BUNDLE=true webpack --progress --config webpack.build.config.js --define process.env.FULL_BUNDLE=true",
"build": "npm run build:core && npm run build:full",
"dev": "webpack-dev-server --config webpack.dev.config.js --inline --hot --content-base dev/",
"lint": "eslint --ext=.js,.vue src test/unit/specs",
Expand Down
1 change: 0 additions & 1 deletion webpack.build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ var loaders = [
}
];
var cssFileName;
console.warn(process.env.FULL_BUNDLE)
if (process.env.FULL_BUNDLE) {
cssFileName = "vfg.css";
} else {
Expand Down

0 comments on commit 3011bb8

Please sign in to comment.