sforkowany z mirror/soapbox
Allow custom module imports
rodzic
5ba4275f73
commit
660c098166
|
@ -66,7 +66,10 @@ module.exports = [{
|
|||
}, {
|
||||
test: /\.svg$/,
|
||||
type: 'asset/resource',
|
||||
include: resolve('node_modules', '@tabler'),
|
||||
include: [
|
||||
resolve('node_modules', '@tabler'),
|
||||
resolve('custom', 'modules', '@tabler'),
|
||||
],
|
||||
generator: {
|
||||
filename: 'packs/icons/[name]-[contenthash:8][ext]',
|
||||
},
|
||||
|
|
|
@ -141,6 +141,7 @@ module.exports = {
|
|||
resolve: {
|
||||
extensions: settings.extensions,
|
||||
modules: [
|
||||
resolve('custom', 'modules'),
|
||||
resolve(settings.source_path),
|
||||
'node_modules',
|
||||
],
|
||||
|
|
Ładowanie…
Reference in New Issue