@stanlemon/webdev 0.1.43 → 0.1.46
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/jest.config.js +1 -0
- package/package.json +2 -1
- package/webpack.config.js +4 -0
package/jest.config.js
CHANGED
|
@@ -31,6 +31,7 @@ export default {
|
|
|
31
31
|
moduleNameMapper: {
|
|
32
32
|
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
|
|
33
33
|
},
|
|
34
|
+
testPathIgnorePatterns: ["/node_modules/", "/dist/"],
|
|
34
35
|
coverageDirectory: "coverage",
|
|
35
36
|
coverageReporters: ["json", "lcov", "text", "html"],
|
|
36
37
|
collectCoverageFrom: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stanlemon/webdev",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.46",
|
|
4
4
|
"description": "My typical web development setup, but without all the copy and paste.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"lint:format": "eslint --fix --ext js,jsx,ts,tsx ./"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"@babel/cli": "^7.17.10",
|
|
23
24
|
"@babel/core": "^7.17.10",
|
|
24
25
|
"@babel/preset-env": "^7.17.10",
|
|
25
26
|
"@babel/preset-react": "^7.16.7",
|
package/webpack.config.js
CHANGED
|
@@ -93,6 +93,9 @@ export default {
|
|
|
93
93
|
plugins: [isDevelopment && "react-refresh/babel"].filter(Boolean),
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
|
+
resolve: {
|
|
97
|
+
fullySpecified: false,
|
|
98
|
+
},
|
|
96
99
|
},
|
|
97
100
|
{
|
|
98
101
|
test: /\.css$/i,
|
|
@@ -111,6 +114,7 @@ export default {
|
|
|
111
114
|
resolve: {
|
|
112
115
|
// Enable webpack to find files without these extensions
|
|
113
116
|
extensions: [".tsx", ".ts", ".jsx", ".js"],
|
|
117
|
+
fullySpecified: false,
|
|
114
118
|
},
|
|
115
119
|
plugins: [
|
|
116
120
|
...[
|