Skip to content

Commit efed257

Browse files
committed
Updated extract text webpack plugin and -p
1 parent e8664c3 commit efed257

6 files changed

Lines changed: 17087 additions & 37 deletions

File tree

src/LIN3S/AdminBundle/Resources/private/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"eslint-loader": "^1.6.1",
1717
"eslint-plugin-class-property": "^1.0.3",
1818
"eslint-plugin-react": "^6.9.0",
19-
"extract-text-webpack-plugin": "^2.0.0-beta",
19+
"extract-text-webpack-plugin": "^3.0.0",
2020
"node-sass": "^4.5.0",
2121
"npm-run-all": "^4.0.1",
2222
"postcss-loader": "^1.2.2",
@@ -39,7 +39,7 @@
3939
"scripts": {
4040
"build": "node_modules/.bin/webpack --config=./webpack.bundle.config.babel.js",
4141
"build:watch": "node_modules/.bin/webpack --config=./webpack.bundle.config.babel.js --watch",
42-
"build:prod": "node_modules/.bin/webpack --config=./webpack.bundle.config.babel.js -p"
42+
"build:prod": "node_modules/.bin/webpack --config=./webpack.bundle.config.babel.js"
4343
},
4444
"dependencies": {
4545
"array-from": "^2.1.1",

src/LIN3S/AdminBundle/Resources/private/webpack.bundle.config.babel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ export default {
4747
},
4848
{
4949
test: /\.(s?css)$/,
50-
loader: ExtractTextPlugin.extract({
50+
use: ExtractTextPlugin.extract({
5151
publicPath: '/',
5252
fallback: 'style-loader',
53-
loader: ['css-loader', 'postcss-loader', 'sass-loader']
53+
use: ['css-loader', 'postcss-loader', 'sass-loader']
5454
})
5555
}
5656
]

src/LIN3S/AdminBundle/Resources/private/yarn.lock

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ ajv-keywords@^2.0.0:
3838
version "2.1.0"
3939
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.0.tgz#a296e17f7bfae7c1ce4f7e0de53d29cb32162df0"
4040

41-
ajv@^4.11.2, ajv@^4.7.0:
41+
ajv@^4.7.0:
4242
version "4.11.3"
4343
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.3.tgz#ce30bdb90d1254f762c75af915fb3a63e7183d22"
4444
dependencies:
4545
co "^4.6.0"
4646
json-stable-stringify "^1.0.1"
4747

48-
ajv@^5.1.5:
48+
ajv@^5.0.0, ajv@^5.1.5:
4949
version "5.2.2"
5050
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.2.tgz#47c68d69e86f5d953103b0074a9430dc63da5e39"
5151
dependencies:
@@ -199,15 +199,15 @@ async-foreach@^0.1.3:
199199
version "0.1.3"
200200
resolved "https://registry.yarnpkg.com/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542"
201201

202-
async@^2.1.2:
203-
version "2.1.4"
204-
resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4"
202+
async@^2.1.2, async@^2.1.5:
203+
version "2.3.0"
204+
resolved "https://registry.yarnpkg.com/async/-/async-2.3.0.tgz#1013d1051047dd320fe24e494d5c66ecaf6147d9"
205205
dependencies:
206206
lodash "^4.14.0"
207207

208-
async@^2.1.5:
209-
version "2.3.0"
210-
resolved "https://registry.yarnpkg.com/async/-/async-2.3.0.tgz#1013d1051047dd320fe24e494d5c66ecaf6147d9"
208+
async@^2.4.1:
209+
version "2.5.0"
210+
resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d"
211211
dependencies:
212212
lodash "^4.14.0"
213213

@@ -1960,14 +1960,14 @@ extglob@^0.3.1:
19601960
dependencies:
19611961
is-extglob "^1.0.0"
19621962

1963-
extract-text-webpack-plugin@^2.0.0-beta:
1964-
version "2.0.0-rc.3"
1965-
resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-2.0.0-rc.3.tgz#7381aa7869ce26d4b39a7bab71cf09e5a38432b2"
1963+
extract-text-webpack-plugin@^3.0.0:
1964+
version "3.0.0"
1965+
resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.0.tgz#90caa7907bc449f335005e3ac7532b41b00de612"
19661966
dependencies:
1967-
ajv "^4.11.2"
1968-
async "^2.1.2"
1969-
loader-utils "^0.2.16"
1970-
webpack-sources "^0.1.0"
1967+
async "^2.4.1"
1968+
loader-utils "^1.1.0"
1969+
schema-utils "^0.3.0"
1970+
webpack-sources "^1.0.1"
19711971

19721972
extsprintf@1.0.2:
19731973
version "1.0.2"
@@ -4296,6 +4296,12 @@ sax@~1.2.1:
42964296
version "1.2.2"
42974297
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.2.tgz#fd8631a23bc7826bef5d871bdb87378c95647828"
42984298

4299+
schema-utils@^0.3.0:
4300+
version "0.3.0"
4301+
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf"
4302+
dependencies:
4303+
ajv "^5.0.0"
4304+
42994305
"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@~5.3.0:
43004306
version "5.3.0"
43014307
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
@@ -4822,13 +4828,6 @@ webpack-core@^0.6.7:
48224828
source-list-map "~0.1.7"
48234829
source-map "~0.4.1"
48244830

4825-
webpack-sources@^0.1.0:
4826-
version "0.1.4"
4827-
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.1.4.tgz#ccc2c817e08e5fa393239412690bb481821393cd"
4828-
dependencies:
4829-
source-list-map "~0.1.7"
4830-
source-map "~0.5.3"
4831-
48324831
webpack-sources@^1.0.1:
48334832
version "1.0.1"
48344833
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf"

0 commit comments

Comments
 (0)