Skip to content

Commit 3b4b884

Browse files
authored
feat: improve workspaces support (#193)
If you are using `kcd-scripts` together with `yarn` and try to use workspaces it won't be able to find the `node_modules` directory in all occasions this makes it more flexible by using a regular expression.
1 parent 5d34c54 commit 3b4b884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ module.exports = {
145145
mainFields: ['module', 'main', 'jsnext', 'browser'],
146146
extensions,
147147
}),
148-
commonjs({include: 'node_modules/**'}),
148+
commonjs({include: /node_modules/i}),
149149
json(),
150150
rollupBabel({
151151
presets: babelPresets,

0 commit comments

Comments
 (0)