WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/11/2018 10:00:16 AM (3 years ago)
Author:
atimmer
Message:

Build tools: Build @wordpress packages with webpack.

We decided to split the media webpack config into it's own file. The
main webpack config then combines this file with the packages config.

Include vendor scripts by copying them. We copy the minified files if
they are available. If they aren't available we minify the original
files ourselves.

Props omarreiss, herregroen, gziolo, youknowriad, netweb, adamsilverstein.
See #45065.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/package.json

    r43688 r43719  
    1414  "license": "GPL-2.0+",
    1515  "devDependencies": {
     16    "@wordpress/custom-templated-path-webpack-plugin": "^1.1.5",
     17    "@wordpress/library-export-default-webpack-plugin": "^1.0.4",
    1618    "autoprefixer": "^9.1.5",
     19    "copy-webpack-plugin": "^4.5.2",
     20    "cssnano": "^4.1.4",
    1721    "grunt": "~1.0.3",
    1822    "grunt-banner": "^0.6.0",
     
    3943    "ink-docstrap": "^1.3.0",
    4044    "matchdep": "~2.0.0",
     45    "source-map-loader": "^0.2.4",
     46    "uglify-js": "^3.4.9",
    4147    "webpack": "^4.20.2",
    42     "webpack-dev-server": "^3.1.9"
     48    "webpack-dev-server": "^3.1.9",
     49    "webpack-livereload-plugin": "^2.1.1"
     50  },
     51  "dependencies": {
     52    "@babel/polyfill": "^7.0.0",
     53    "@wordpress/a11y": "^2.0.2",
     54    "@wordpress/api-fetch": "^2.0.2",
     55    "@wordpress/autop": "^2.0.2",
     56    "@wordpress/blob": "^2.0.2",
     57    "@wordpress/block-library": "^2.1.0",
     58    "@wordpress/block-serialization-default-parser": "^1.0.1",
     59    "@wordpress/blocks": "^4.0.1",
     60    "@wordpress/components": "^4.1.0",
     61    "@wordpress/compose": "^2.0.2",
     62    "@wordpress/core-data": "^2.0.2",
     63    "@wordpress/data": "^2.1.1",
     64    "@wordpress/date": "^2.0.2",
     65    "@wordpress/deprecated": "^2.0.2",
     66    "@wordpress/dom": "^2.0.2",
     67    "@wordpress/dom-ready": "^2.0.2",
     68    "@wordpress/edit-post": "^1.0.0",
     69    "@wordpress/editor": "^4.0.1",
     70    "@wordpress/element": "^2.1.1",
     71    "@wordpress/escape-html": "^1.0.0-beta.1",
     72    "@wordpress/hooks": "^2.0.2",
     73    "@wordpress/html-entities": "^2.0.2",
     74    "@wordpress/i18n": "^3.0.1",
     75    "@wordpress/is-shallow-equal": "^1.1.4",
     76    "@wordpress/keycodes": "^2.0.2",
     77    "@wordpress/list-reusable-blocks": "^1.1.0",
     78    "@wordpress/nux": "^2.0.1",
     79    "@wordpress/plugins": "^2.0.2",
     80    "@wordpress/redux-routine": "^3.0.1",
     81    "@wordpress/rich-text": "^1.0.0-beta.1",
     82    "@wordpress/shortcode": "^2.0.2",
     83    "@wordpress/token-list": "^1.0.2",
     84    "@wordpress/url": "^2.0.2",
     85    "@wordpress/viewport": "^2.0.2",
     86    "@wordpress/wordcount": "^2.0.2",
     87    "element-closest": "^2.0.2",
     88    "formdata-polyfill": "^3.0.12",
     89    "lodash": "^4.17.11",
     90    "moment": "^2.22.2",
     91    "polyfill-library": "^3.26.0-0",
     92    "react": "^16.5.2",
     93    "react-dom": "^16.5.2",
     94    "whatwg-fetch": "^3.0.0"
    4395  }
    4496}
Note: See TracChangeset for help on using the changeset viewer.