Skip to content

Commit ce9b603

Browse files
committed
no need to exclude path
1 parent d148f76 commit ce9b603

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

webpack.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ const common = {
3939
new HtmlWebpackPlugin()
4040
],
4141
resolve: {
42-
extensions: ['.ts', '.js'],
43-
fallback: { path: false }
42+
extensions: ['.ts', '.js']
4443
},
4544
devServer: {
4645
static: './dist'
@@ -79,7 +78,7 @@ const minified = {
7978
// UMD Unminified, rdflib bundled
8079
const unminified = {
8180
...common,
82-
mode: 'development',
81+
mode: 'production',
8382
output: {
8483
...common.output,
8584
filename: 'solid-ui.js'
@@ -108,7 +107,7 @@ const minifiedWithRdflib = {
108107
// UMD Unminified, rdflib external
109108
const unminifiedWithRdflib = {
110109
...common,
111-
mode: 'development',
110+
mode: 'production',
112111
output: {
113112
...common.output,
114113
filename: 'solid-ui.external.js'
@@ -158,7 +157,7 @@ const esmUnminified = {
158157
experiments: {
159158
outputModule: true
160159
},
161-
mode: 'development',
160+
mode: 'production',
162161
optimization: {
163162
minimize: false
164163
}

0 commit comments

Comments
 (0)