@henderea/static-site-builder 1.10.10 → 1.10.12
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.
|
@@ -166,7 +166,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
166
166
|
...extraLoaders,
|
|
167
167
|
{
|
|
168
168
|
test: /\.ts$/,
|
|
169
|
-
exclude: [/[/\\\\]node_modules[/\\\\]/],
|
|
169
|
+
exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/]]]]/],
|
|
170
170
|
use: [
|
|
171
171
|
{
|
|
172
172
|
loader: require.resolve('ts-loader'),
|
|
@@ -178,7 +178,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
test: /\.js$/,
|
|
181
|
-
exclude: [/[/\\\\]node_modules[/\\\\]/],
|
|
181
|
+
exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/]]]]/],
|
|
182
182
|
use: [
|
|
183
183
|
require.resolve('thread-loader'),
|
|
184
184
|
{
|
|
@@ -196,6 +196,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
test: /\.js$/,
|
|
199
|
+
exclude: [/[/\\\\]public[/]]]]/],
|
|
199
200
|
use: [
|
|
200
201
|
require.resolve('thread-loader'),
|
|
201
202
|
{
|
|
@@ -214,6 +215,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
214
215
|
},
|
|
215
216
|
{
|
|
216
217
|
test: /\.css$/,
|
|
218
|
+
exclude: [/[/\\\\]public[/]]]]/],
|
|
217
219
|
use: [
|
|
218
220
|
'style-loader',
|
|
219
221
|
'css-loader',
|
|
@@ -227,6 +229,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
227
229
|
},
|
|
228
230
|
{
|
|
229
231
|
test: /\.scss$/,
|
|
232
|
+
exclude: [/[/\\\\]public[/]]]]/],
|
|
230
233
|
use: [
|
|
231
234
|
'style-loader',
|
|
232
235
|
'css-loader',
|
|
@@ -245,7 +248,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
245
248
|
// its runtime that would otherwise processed through "file" loader.
|
|
246
249
|
// Also exclude `html` and `json` extensions so they get processed
|
|
247
250
|
// by webpack's internal loaders.
|
|
248
|
-
exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json
|
|
251
|
+
exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/]]]]/],
|
|
249
252
|
options: {
|
|
250
253
|
name: '[name].[ext]'
|
|
251
254
|
}
|
|
@@ -274,7 +274,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
274
274
|
...extraLoaders,
|
|
275
275
|
{
|
|
276
276
|
test: /\.ts$/,
|
|
277
|
-
exclude: [/[/\\\\]node_modules[/\\\\]/],
|
|
277
|
+
exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/]]]]/],
|
|
278
278
|
use: [
|
|
279
279
|
{
|
|
280
280
|
loader: require.resolve('ts-loader'),
|
|
@@ -286,7 +286,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
test: /\.js$/,
|
|
289
|
-
exclude: [/[/\\\\]node_modules[/\\\\]/],
|
|
289
|
+
exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/]]]]/],
|
|
290
290
|
use: [
|
|
291
291
|
require.resolve('thread-loader'),
|
|
292
292
|
{
|
|
@@ -301,6 +301,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
test: /\.js$/,
|
|
304
|
+
exclude: [/[/\\\\]public[/]]]]/],
|
|
304
305
|
use: [
|
|
305
306
|
require.resolve('thread-loader'),
|
|
306
307
|
{
|
|
@@ -319,6 +320,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
319
320
|
},
|
|
320
321
|
{
|
|
321
322
|
test: /\.css$/,
|
|
323
|
+
exclude: [/[/\\\\]public[/]]]]/],
|
|
322
324
|
use: [
|
|
323
325
|
MiniCssExtractPlugin.loader,
|
|
324
326
|
{
|
|
@@ -338,6 +340,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
338
340
|
},
|
|
339
341
|
{
|
|
340
342
|
test: /\.scss$/,
|
|
343
|
+
exclude: [/[/\\\\]public[/]]]]/],
|
|
341
344
|
use: [
|
|
342
345
|
MiniCssExtractPlugin.loader,
|
|
343
346
|
{
|
|
@@ -371,7 +374,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
|
|
|
371
374
|
// its runtime that would otherwise processed through "file" loader.
|
|
372
375
|
// Also exclude `html` and `json` extensions so they get processed
|
|
373
376
|
// by webpack's internal loaders.
|
|
374
|
-
exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json
|
|
377
|
+
exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/]]]]/],
|
|
375
378
|
options: {
|
|
376
379
|
name: '[name].[ext]'
|
|
377
380
|
}
|