@mrpelz/boilerplate-preact 10.1.0 → 11.0.0
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.
- package/package.json +1 -1
- package/stylelint.config.js +2 -2
- package/webpack.config.js +3 -3
package/package.json
CHANGED
package/stylelint.config.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { execSync } from 'node:child_process';
|
|
2
|
-
import
|
|
2
|
+
import path from 'node:path';
|
|
3
3
|
|
|
4
4
|
/** @type {import('stylelint').Config} */
|
|
5
5
|
export default {
|
|
6
6
|
extends: [
|
|
7
|
-
resolve(
|
|
7
|
+
path.resolve(
|
|
8
8
|
execSync('npm ls --parseable "@mrpelz/boilerplate-dom"', {
|
|
9
9
|
encoding: 'utf8',
|
|
10
10
|
}).trim(),
|
package/webpack.config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import path from 'node:path';
|
|
2
2
|
|
|
3
3
|
import configUpstream, {
|
|
4
4
|
dirBase,
|
|
@@ -19,7 +19,7 @@ const configDownstream = {
|
|
|
19
19
|
{
|
|
20
20
|
loader: 'ts-loader',
|
|
21
21
|
options: {
|
|
22
|
-
configFile: resolve(dirBase, 'tsconfig.build.json'),
|
|
22
|
+
configFile: path.resolve(dirBase, 'tsconfig.build.json'),
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
],
|
|
@@ -36,7 +36,7 @@ const configDownstream = {
|
|
|
36
36
|
const config = merge(configUpstream, configDownstream);
|
|
37
37
|
|
|
38
38
|
const { entry } = config;
|
|
39
|
-
if (entry && Array.isArray(entry)) entry[0] = resolve(dirSrc, 'main.tsx');
|
|
39
|
+
if (entry && Array.isArray(entry)) entry[0] = path.resolve(dirSrc, 'main.tsx');
|
|
40
40
|
|
|
41
41
|
// @ts-ignore
|
|
42
42
|
/** @type {import('@mrpelz/boilerplate-dom/webpack.config.js').ConfigurationExtended} */
|