You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**root** | **[required]** An absolute path to the root of your project. |
42
-
**matchers** | An object with `jade`, `css`, and `js` keys. Each key is a [micromatch](https://github.com/jonschlinkert/micromatch) string, and represents which files should be pulled into the pipeline to be processed. Defaults are . Be very careful if you are trying to change this. | `**/*.jade`, `**/*.css`, and `**/*.js`
**root** | **[required]** An absolute path to the root of your project. |
42
+
**matchers** | An object with `jade`, `css`, and `js` keys. Each key is a [micromatch](https://github.com/jonschlinkert/micromatch) string, and represents which files should be pulled into the pipeline to be processed. Defaults are . Be very careful if you are trying to change this. | `**/*.jade`, `**/*.css`, and `**/*.js`
43
43
**postcss** | An object that can contain a `plugins` key, which is an array of [plugins to be passed to PostCSS](http://postcss.parts/) for CSS processing, and a `parser`, `stringifier`, and/or `syntax` key, each of which are objects and take [any of the postcss-loader options](https://github.com/postcss/postcss-loader#custom-syntaxes) |
44
-
**babelConfig** | A [configuration object for Babel](http://babeljs.io/docs/usage/options/) for JS processing. |
45
-
**dumpDirs** | An array of directories which, if direct children of the project root, will dump their contents to the root on compile. Defaults to | `['views', 'assets']`.
46
-
**locals** | An object containing locals to be passed to jade views. This can be used for values, functions, any sort of view helper you need. |
47
-
**ignore** | An array of [micromatch](https://github.com/jonschlinkert/micromatch) strings, each one defining a file pattern to be ignored from compilation. |
48
-
**outputDir** | The name or path of the folder your project will be compiled into, on top of the project's root. | `'public'`
49
-
**plugins** | An array of webpack plugins. |
50
-
**entry** | Webpack entry object duplicate. Can be used for code splitting and/or to use multiple bundles. | `{ 'js/main': ['./assets/js/index.js'] }`
51
-
**modulesDirectories** | Webpack modulesDirectories array option, to select where modules can be loaded from. | `['node_modules', 'bower_components']`
52
-
**jadeTemplates** | Boolean, if set to true, all jade templates will have a javascript template rendered alongside them in the output with the same name and `.js` appended to the end. | `false`
53
-
**cssTemplates** | Boolean, if set to true, all css files will have a javascript template rendered alongside them in the output with the same name and `.js` appended to the end. | `false`
44
+
**babelConfig** | A [configuration object for Babel](http://babeljs.io/docs/usage/options/) for JS processing. |
45
+
**dumpDirs** | An array of directories which, if direct children of the project root, will dump their contents to the root on compile. Defaults to | `['views', 'assets']`.
46
+
**locals** | An object containing locals to be passed to jade views. This can be used for values, functions, any sort of view helper you need. |
47
+
**ignore** | An array of [micromatch](https://github.com/jonschlinkert/micromatch) strings, each one defining a file pattern to be ignored from compilation. |
48
+
**outputDir** | The name or path of the folder your project will be compiled into, on top of the project's root. | `'public'`
49
+
**plugins** | An array of webpack plugins. |
50
+
**entry** | Webpack entry object duplicate. Can be used for code splitting and/or to use multiple bundles. | `{ 'js/main': ['./assets/js/index.js'] }`
51
+
**modulesDirectories** | Webpack modulesDirectories array option, to select where modules can be loaded from. | `['node_modules', 'bower_components']`
52
+
**jadeTemplates** | Boolean, if set to true, all jade templates will have a javascript template rendered alongside them in the output with the same name and `.js` appended to the end. | `false`
53
+
**cssTemplates** | Boolean, if set to true, all css files will have a javascript template rendered alongside them in the output with the same name and `.js` appended to the end. | `false`
54
+
**module.loaders** | Allows you to define an array of custom loaders. See [webpack's documentation](https://webpack.github.io/docs/configuration.html#module-loaders) for details |
55
+
**resolve.alias** | Set up loader aliases, like if you wanted to load a local loader. See [webpack's documentation](https://webpack.github.io/docs/configuration.html#resolve-alias) for details |
54
56
55
57
> **Note:** Not familiar with minimatch or micromatch? Check out the [minimatch cheat sheet](https://github.com/motemen/minimatch-cheat-sheet) and test your patterns with [globtester](http://www.globtester.com). Trust us, it's a much cleaner and easier way to write regexes for the file system : )
0 commit comments