@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.
@@ -12,7 +12,7 @@ export default function bsAttr(util, opt, options ) {
12
12
  case 'spacing':
13
13
  util = 'm';
14
14
 
15
- if( 'string' === typeof options && 'm' === options ){
15
+ if( 'string' === typeof options && 'p' === options ){
16
16
  util = options;
17
17
  };
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/webpack",
3
- "version": "1.4.2",
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.3"
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 'alerts':
229
- partialDir = 'components';
229
+ case 'alert':
230
+ case 'card':
231
+ partialDir = `components/${partial}`;
230
232
  break;
231
233
 
232
234
  // forms are served from the /forms/ directory