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
@@ -36,33 +47,6 @@ Additionally, if you wish to run the plugin every time it is built:
36
47
npm run start
37
48
```
38
49
39
-
### Custom Configuration
40
-
41
-
#### Babel
42
-
43
-
To customize Babel, you have two options:
44
-
45
-
- You may create a [`.babelrc`](https://babeljs.io/docs/usage/babelrc) file in your project's root directory. Any settings you define here will overwrite matching config-keys within skpm preset. For example, if you pass a "presets" object, it will replace & reset all Babel presets that skpm defaults to.
46
-
47
-
- If you'd like to modify or add to the existing Babel config, you must use a `webpack.skpm.config.js` file. Visit the [Webpack](#webpack) section for more info.
48
-
49
-
#### Webpack
50
-
51
-
To customize webpack create `webpack.skpm.config.js` file which exports function that will change webpack's config.
52
-
53
-
```js
54
-
/**
55
-
* Function that mutates original webpack config.
56
-
* Supports asynchronous changes when promise is returned.
57
-
*
58
-
* @param{object}config - original webpack config.
59
-
* @param{boolean}isPluginCommand - whether the config is for a plugin command or a resource
0 commit comments