Skip to content

Commit

Permalink
Framework: Remove packages build from build, dev scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed May 20, 2019
1 parent 9ee7fa2 commit 0021e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@
"clean:packages": "rimraf ./packages/*/build ./packages/*/build-module ./packages/*/build-style ./packages/*/node_modules",
"prebuild:packages": "npm run clean:packages && lerna run build",
"build:packages": "node ./bin/packages/build.js",
"build": "npm run build:packages && wp-scripts build",
"build": "wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "concurrently \"wp-scripts check-licenses --prod --gpl2\" \"wp-scripts check-licenses --dev\"",
"precheck-local-changes": "npm run docs:build",
"check-local-changes": "( git diff -U0 | xargs -0 node bin/process-git-diff ) || ( echo \"There are local uncommitted changes after one or both of 'npm install' or 'npm run docs:build'!\" && exit 1 );",
"predev": "npm run check-engines",
"dev": "npm run build:packages && concurrently \"wp-scripts start\" \"npm run dev:packages\"",
"dev": "wp-scripts start",
"dev:packages": "node ./bin/packages/watch.js",
"docs:build": "node ./docs/tool && node ./bin/update-readmes",
"fixtures:clean": "rimraf \"packages/e2e-tests/fixtures/blocks/*.+(json|serialized.html)\"",
Expand Down
6 changes: 0 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ module.exports = {
library: [ 'wp', '[name]' ],
libraryTarget: 'this',
},
// Despite being empty, this must exist as an entry to override the default
// configuration. Gutenberg does not inherit the same Webpack rules as in
// the default. Notably, it does not require Babel processing because the
// files are transpiled by `npm run build:packages` before being processed
// by Webpack.
module: {},
plugins: [
...defaultConfig.plugins,
new DefinePlugin( {
Expand Down

0 comments on commit 0021e5c

Please sign in to comment.