packages/cli: exclude dev/ folder in rollup config

This commit is contained in:
Patrik Oldsberg
2020-04-22 23:58:48 +02:00
parent 7ac528b1ce
commit f4cc327d80
@@ -46,6 +46,11 @@ export default {
json(),
typescript({
include: `${paths.resolveTarget('src')}/**/*.{js,jsx,ts,tsx}`,
tsconfigOverride: {
// The dev folder is for the local plugin serve, ignore it in the build
// If we don't do this we get a folder structure similar to dist/{src,dev}/...
exclude: ['dev'],
},
clean: true,
}),
],