mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
update web pack config
This commit is contained in:
parent
b29198edd4
commit
9a8f96a844
@ -53,7 +53,13 @@ module.exports = {
|
|||||||
use: 'yml-loader'
|
use: 'yml-loader'
|
||||||
}, {
|
}, {
|
||||||
test: /\.worker\.js$/,
|
test: /\.worker\.js$/,
|
||||||
use: ['worker-loader', babelLoader]
|
use: [{
|
||||||
|
loader: 'worker-loader',
|
||||||
|
options: {
|
||||||
|
inline: false,
|
||||||
|
name: '[name].js'
|
||||||
|
}
|
||||||
|
}, babelLoader],
|
||||||
}, {
|
}, {
|
||||||
test: /\.(png|jpg|gif)$/,
|
test: /\.(png|jpg|gif)$/,
|
||||||
use: ['url-loader?name=images/[name].[ext]']
|
use: ['url-loader?name=images/[name].[ext]']
|
||||||
|
Loading…
Reference in New Issue
Block a user