Merge branch 'custom-imports' into 'develop'

Custom imports

See merge request soapbox-pub/soapbox-fe!1340
environments/review-develop-3zknud/deployments/779
Alex Gleason 2022-08-13 14:57:39 +00:00
commit c279e41eb2
3 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

Wyświetl plik

@ -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]',
},

Wyświetl plik

@ -141,6 +141,7 @@ module.exports = {
resolve: {
extensions: settings.extensions,
modules: [
resolve('custom', 'modules'),
resolve(settings.source_path),
'node_modules',
],