Skip to content

Commit edcdf1c

Browse files
committed
Update webpack.config to ignore custom app styles
1 parent 7036465 commit edcdf1c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/VirtoCommerce.ImportModule.Web/module.manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
<app id="import-app">
3232
<title>Import App</title>
3333
<iconUrl>/apps/import-app/img/icons/favicon-32x32.png</iconUrl>
34-
<contentPath>dist/import-app/dist</contentPath>
34+
<contentPath>Content/import-app/dist</contentPath>
3535
<permission>import:access</permission>
3636
</app>
3737
<app id="import-app-new">
3838
<title>Import App (new)</title>
3939
<iconUrl>/apps/import-app-new/img/icons/favicon-32x32.png</iconUrl>
40-
<contentPath>dist/import-app-new/dist</contentPath>
40+
<contentPath>Content/import-app-new/dist</contentPath>
4141
<permission>import:access</permission>
4242
</app>
4343
</apps>

src/VirtoCommerce.ImportModule.Web/webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ const rootPath = path.resolve(__dirname, "dist");
1111
function getEntrypoints() {
1212
const result = [
1313
...glob.sync("./Scripts/**/*.js", { nosort: true }),
14-
...glob.sync("./Content/**/*.css", { nosort: true })
14+
...glob.sync("./Content/**/*.css", {
15+
nosort: true,
16+
ignore: ["./Content/import-app/dist/**/*.css", "./Content/import-app-new/dist/**/*.css"]
17+
})
1518
];
1619

1720
return result;

0 commit comments

Comments
 (0)