Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filex completely disappear from /dist #3

Open
richardgraft opened this issue Nov 13, 2021 · 0 comments
Open

filex completely disappear from /dist #3

richardgraft opened this issue Nov 13, 2021 · 0 comments

Comments

@richardgraft
Copy link

richardgraft commented Nov 13, 2021

I have an urgent and strange issue with a site build using this tool.

Running yarn dev seems to completely erase all files from the /dist folder and present a bug in the console:

`> hatch@1.0.0 build:rollup
> NODE_ENV=production rollup -c


src/scripts/theme.js, src/scripts/sections/*.js → dist...
[!] TypeError: [conf.input].flat is not a function
TypeError: [conf.input].flat is not a function
    at Object.options (/Users/madebyrichard/Dropbox/Work/2021-clients/Emmy London/emmy-london/node_modules/rollup-plugin-multi-input/dist/plugin.js:137:15)
    at /Users/madebyrichard/Dropbox/Work/2021-clients/Emmy London/emmy-london/node_modules/rollup/dist/shared/rollup.js:20978:43

ERROR: "build:rollup" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

Would be great to know what is causing this issue. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant