mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
feat: mini-css-extract-plugin 0.3.0 and [contenthash]
This commit is contained in:
parent
5e6ff01f30
commit
7f6b7d8588
@ -46,11 +46,9 @@ export default {
|
|||||||
cache: false,
|
cache: false,
|
||||||
publicPath: '/_nuxt/',
|
publicPath: '/_nuxt/',
|
||||||
filenames: {
|
filenames: {
|
||||||
app: '[name].[chunkhash].js',
|
app: '[name].[contenthash].js',
|
||||||
chunk: '[name].[chunkhash].js',
|
chunk: '[name].[contenthash].js',
|
||||||
// TODO: Use [name].[contenthash].css
|
css: '[name].[contenthash].css'
|
||||||
// When this merge released: https://github.com/webpack/webpack/pull/6839
|
|
||||||
css: '[name].[chunkhash].css'
|
|
||||||
},
|
},
|
||||||
styleResources: {},
|
styleResources: {},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
"css-loader": "^0.28.11",
|
"css-loader": "^0.28.11",
|
||||||
"debug": "^3.1.0",
|
"debug": "^3.1.0",
|
||||||
"es6-promise": "^4.2.4",
|
"es6-promise": "^4.2.4",
|
||||||
"esm": "^3.0.10",
|
"esm": "^3.0.12",
|
||||||
"etag": "^1.8.1",
|
"etag": "^1.8.1",
|
||||||
"file-loader": "^1.1.11",
|
"file-loader": "^1.1.11",
|
||||||
"fresh": "^0.5.2",
|
"fresh": "^0.5.2",
|
||||||
@ -97,7 +97,7 @@
|
|||||||
"lodash": "^4.17.5",
|
"lodash": "^4.17.5",
|
||||||
"lru-cache": "^4.1.2",
|
"lru-cache": "^4.1.2",
|
||||||
"memory-fs": "^0.4.1",
|
"memory-fs": "^0.4.1",
|
||||||
"mini-css-extract-plugin": "^0.2.0",
|
"mini-css-extract-plugin": "^0.3.0",
|
||||||
"minimist": "^1.2.0",
|
"minimist": "^1.2.0",
|
||||||
"opencollective": "^1.0.3",
|
"opencollective": "^1.0.3",
|
||||||
"ora": "^2.0.0",
|
"ora": "^2.0.0",
|
||||||
|
12
yarn.lock
12
yarn.lock
@ -2532,9 +2532,9 @@ eslint@^4.19.1:
|
|||||||
table "4.0.2"
|
table "4.0.2"
|
||||||
text-table "~0.2.0"
|
text-table "~0.2.0"
|
||||||
|
|
||||||
esm@^3.0.10:
|
esm@^3.0.12:
|
||||||
version "3.0.10"
|
version "3.0.12"
|
||||||
resolved "https://registry.yarnpkg.com/esm/-/esm-3.0.10.tgz#75d541a776b587427f942d31f66aea8f4c911702"
|
resolved "https://registry.yarnpkg.com/esm/-/esm-3.0.12.tgz#c443d871a70100f3c1ec66008de7c84e3c1d6e3b"
|
||||||
|
|
||||||
espree@^3.5.2, espree@^3.5.4:
|
espree@^3.5.2, espree@^3.5.4:
|
||||||
version "3.5.4"
|
version "3.5.4"
|
||||||
@ -4599,9 +4599,9 @@ mimic-fn@^1.0.0:
|
|||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
|
||||||
|
|
||||||
mini-css-extract-plugin@^0.2.0:
|
mini-css-extract-plugin@^0.3.0:
|
||||||
version "0.2.0"
|
version "0.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.2.0.tgz#7a16b0e1096c86de8e4d1c3b063aa1aeae88d41d"
|
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.3.0.tgz#f8dc03abb3a8663f1a431143e232fb47fb4d9318"
|
||||||
dependencies:
|
dependencies:
|
||||||
loader-utils "^1.1.0"
|
loader-utils "^1.1.0"
|
||||||
webpack-sources "^1.1.0"
|
webpack-sources "^1.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user