mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 02:53:50 +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",
|
||||
"cordova": "^7.1.0",
|
||||
"css-loader": "^0.28.7",
|
||||
"file-loader": "^1.1.5",
|
||||
"html-webpack-plugin": "^2.30.1",
|
||||
"html-webpack-template": "^6.0.2",
|
||||
"raw-loader": "^0.5.1",
|
||||
@ -80,6 +79,7 @@
|
||||
"redux-promise-middleware": "^4.4.2",
|
||||
"redux-thunk": "^2.2.0",
|
||||
"style-loader": "^0.19.0",
|
||||
"url-loader": "^0.6.2",
|
||||
"webpack": "^3.8.1",
|
||||
"webpack-bundle-analyzer": "^2.9.1",
|
||||
"webpack-cordova-plugin": "^0.1.6",
|
||||
|
@ -60,10 +60,7 @@ module.exports = {
|
||||
}, {
|
||||
test: /\.(png|jpg|gif)$/,
|
||||
use: {
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[path][name].[ext]'
|
||||
}
|
||||
loader: 'url-loader?name=images/[name].[ext]'
|
||||
}
|
||||
}, {
|
||||
test: /\.(svg|glsl|d3sketch)$/,
|
||||
|
Loading…
Reference in New Issue
Block a user