mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2025-01-03 08:33:48 +01:00
use url-loader instead of file-loader
This commit is contained in:
parent
48a2221566
commit
a43cbfcc2f
1048
package-lock.json
generated
1048
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -66,7 +66,6 @@
|
|||||||
"babel-preset-stage-0": "^6.24.1",
|
"babel-preset-stage-0": "^6.24.1",
|
||||||
"cordova": "^7.1.0",
|
"cordova": "^7.1.0",
|
||||||
"css-loader": "^0.28.7",
|
"css-loader": "^0.28.7",
|
||||||
"file-loader": "^1.1.5",
|
|
||||||
"html-webpack-plugin": "^2.30.1",
|
"html-webpack-plugin": "^2.30.1",
|
||||||
"html-webpack-template": "^6.0.2",
|
"html-webpack-template": "^6.0.2",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^0.5.1",
|
||||||
@ -80,6 +79,7 @@
|
|||||||
"redux-promise-middleware": "^4.4.2",
|
"redux-promise-middleware": "^4.4.2",
|
||||||
"redux-thunk": "^2.2.0",
|
"redux-thunk": "^2.2.0",
|
||||||
"style-loader": "^0.19.0",
|
"style-loader": "^0.19.0",
|
||||||
|
"url-loader": "^0.6.2",
|
||||||
"webpack": "^3.8.1",
|
"webpack": "^3.8.1",
|
||||||
"webpack-bundle-analyzer": "^2.9.1",
|
"webpack-bundle-analyzer": "^2.9.1",
|
||||||
"webpack-cordova-plugin": "^0.1.6",
|
"webpack-cordova-plugin": "^0.1.6",
|
||||||
|
@ -60,10 +60,7 @@ module.exports = {
|
|||||||
}, {
|
}, {
|
||||||
test: /\.(png|jpg|gif)$/,
|
test: /\.(png|jpg|gif)$/,
|
||||||
use: {
|
use: {
|
||||||
loader: 'file-loader',
|
loader: 'url-loader?name=images/[name].[ext]'
|
||||||
options: {
|
|
||||||
name: '[path][name].[ext]'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
test: /\.(svg|glsl|d3sketch)$/,
|
test: /\.(svg|glsl|d3sketch)$/,
|
||||||
|
Loading…
Reference in New Issue
Block a user