@epilot360/webpack-config-epilot360 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -91,7 +91,14 @@ function webpackConfigEpilot360ReactApp(opts) {
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
test: /\.(bmp|png|svg|jpg|jpeg|gif|webp)$/i,
|
|
94
|
-
exclude: [
|
|
94
|
+
exclude: [
|
|
95
|
+
/node_modules/,
|
|
96
|
+
/src\/assets\/ckeditor/,
|
|
97
|
+
/src\/assets\/dashboard/,
|
|
98
|
+
],
|
|
99
|
+
include: [
|
|
100
|
+
/node_modules\/jsoneditor\/dist\/img/,
|
|
101
|
+
]
|
|
95
102
|
type: "asset/resource",
|
|
96
103
|
},
|
|
97
104
|
{
|
|
@@ -99,6 +106,10 @@ function webpackConfigEpilot360ReactApp(opts) {
|
|
|
99
106
|
exclude: /node_modules/,
|
|
100
107
|
type: "asset/source",
|
|
101
108
|
},
|
|
109
|
+
{
|
|
110
|
+
test: /\.svg$/i,
|
|
111
|
+
loader: 'file-loader',
|
|
112
|
+
},
|
|
102
113
|
],
|
|
103
114
|
},
|
|
104
115
|
optimization: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot360/webpack-config-epilot360",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "A webpack config for in-browser modules used with single-spa for Epilot360",
|
|
5
5
|
"main": "lib/webpack-config-epilot360-portal.js",
|
|
6
6
|
"directories": {
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"scripts": {},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"css-loader": "^5.0.1",
|
|
15
|
-
"esbuild-loader": "^2.
|
|
15
|
+
"esbuild-loader": "^2.18.0",
|
|
16
|
+
"file-loader": "^6.2.0",
|
|
16
17
|
"fork-ts-checker-webpack-plugin": "^6.0.5",
|
|
17
18
|
"html-webpack-plugin": "^5.1.0",
|
|
18
19
|
"https-browserify": "^1.0.0",
|