@henderea/static-site-builder 1.10.12 → 1.10.13

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[/\\\\]/, /[/\\\\]public[/]]]]/],
169
+ exclude: [/[/\\\\]node_modules[/\\\\]/, paths.publicDir],
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[/\\\\]/, /[/\\\\]public[/]]]]/],
181
+ exclude: [/[/\\\\]node_modules[/\\\\]/, paths.publicDir],
182
182
  use: [
183
183
  require.resolve('thread-loader'),
184
184
  {
@@ -196,7 +196,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
196
196
  },
197
197
  {
198
198
  test: /\.js$/,
199
- exclude: [/[/\\\\]public[/]]]]/],
199
+ exclude: [paths.publicDir],
200
200
  use: [
201
201
  require.resolve('thread-loader'),
202
202
  {
@@ -215,7 +215,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
215
215
  },
216
216
  {
217
217
  test: /\.css$/,
218
- exclude: [/[/\\\\]public[/]]]]/],
218
+ exclude: [paths.publicDir],
219
219
  use: [
220
220
  'style-loader',
221
221
  'css-loader',
@@ -229,7 +229,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
229
229
  },
230
230
  {
231
231
  test: /\.scss$/,
232
- exclude: [/[/\\\\]public[/]]]]/],
232
+ exclude: [paths.publicDir],
233
233
  use: [
234
234
  'style-loader',
235
235
  'css-loader',
@@ -248,7 +248,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
248
248
  // its runtime that would otherwise processed through "file" loader.
249
249
  // Also exclude `html` and `json` extensions so they get processed
250
250
  // by webpack's internal loaders.
251
- exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/]]]]/],
251
+ exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, paths.publicDir],
252
252
  options: {
253
253
  name: '[name].[ext]'
254
254
  }
@@ -274,7 +274,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
274
274
  ...extraLoaders,
275
275
  {
276
276
  test: /\.ts$/,
277
- exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/]]]]/],
277
+ exclude: [/[/\\\\]node_modules[/\\\\]/, paths.publicDir],
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[/\\\\]/, /[/\\\\]public[/]]]]/],
289
+ exclude: [/[/\\\\]node_modules[/\\\\]/, paths.publicDir],
290
290
  use: [
291
291
  require.resolve('thread-loader'),
292
292
  {
@@ -301,7 +301,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
301
301
  },
302
302
  {
303
303
  test: /\.js$/,
304
- exclude: [/[/\\\\]public[/]]]]/],
304
+ exclude: [paths.publicDir],
305
305
  use: [
306
306
  require.resolve('thread-loader'),
307
307
  {
@@ -320,7 +320,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
320
320
  },
321
321
  {
322
322
  test: /\.css$/,
323
- exclude: [/[/\\\\]public[/]]]]/],
323
+ exclude: [paths.publicDir],
324
324
  use: [
325
325
  MiniCssExtractPlugin.loader,
326
326
  {
@@ -340,7 +340,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
340
340
  },
341
341
  {
342
342
  test: /\.scss$/,
343
- exclude: [/[/\\\\]public[/]]]]/],
343
+ exclude: [paths.publicDir],
344
344
  use: [
345
345
  MiniCssExtractPlugin.loader,
346
346
  {
@@ -374,7 +374,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
374
374
  // its runtime that would otherwise processed through "file" loader.
375
375
  // Also exclude `html` and `json` extensions so they get processed
376
376
  // by webpack's internal loaders.
377
- exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/]]]]/],
377
+ exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, paths.publicDir],
378
378
  options: {
379
379
  name: '[name].[ext]'
380
380
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henderea/static-site-builder",
3
- "version": "1.10.12",
3
+ "version": "1.10.13",
4
4
  "description": "A static site builder",
5
5
  "main": "index.js",
6
6
  "repository": "henderea/static-site-builder.git",