@caweb/webpack 1.4.2 → 1.4.4
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/helpers/bootstrap/bsAttr.js +1 -1
- package/package.json +2 -2
- package/webpack.config.js +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/webpack",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "CAWebPublishing Webpack Configuration",
|
|
5
5
|
"main": "webpack.config.js",
|
|
6
6
|
"files": [
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"webpack-remove-empty-scripts": "^1.1.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@caweb/html-webpack-plugin": ">= 1.8.
|
|
51
|
+
"@caweb/html-webpack-plugin": ">= 1.8.5"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/webpack.config.js
CHANGED
|
@@ -186,6 +186,7 @@ let webpackConfig = {
|
|
|
186
186
|
options:{
|
|
187
187
|
rootRelative: process.cwd(),
|
|
188
188
|
helperDirs: [
|
|
189
|
+
path.resolve(currentPath, 'helpers', 'bootstrap'),
|
|
189
190
|
path.resolve(currentPath, 'helpers', 'logic'),
|
|
190
191
|
path.resolve(currentPath, 'helpers', 'object'),
|
|
191
192
|
path.resolve(currentPath, 'helpers', 'string')
|
|
@@ -225,8 +226,9 @@ let webpackConfig = {
|
|
|
225
226
|
break;
|
|
226
227
|
|
|
227
228
|
// components are served from the /components/ directory
|
|
228
|
-
case '
|
|
229
|
-
|
|
229
|
+
case 'alert':
|
|
230
|
+
case 'card':
|
|
231
|
+
partialDir = `components/${partial}`;
|
|
230
232
|
break;
|
|
231
233
|
|
|
232
234
|
// forms are served from the /forms/ directory
|