Added the information in a container because I don't think that many people care about what's going on. worklet-loader uses a hash to avoid caching issues, I just ran into them
15 lines
274 B
JavaScript
15 lines
274 B
JavaScript
module.exports = {
|
|
entry: [
|
|
"./src/main.js"
|
|
],
|
|
module: {
|
|
rules: [{
|
|
test: /\.worklet\.js$/,
|
|
use: {
|
|
loader: "worklet-loader"
|
|
// options: { name: "[name].js" }
|
|
}
|
|
}]
|
|
}
|
|
}
|