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

1.0 Build Error #295

Open
mastastealth opened this issue Feb 16, 2023 · 1 comment
Open

1.0 Build Error #295

mastastealth opened this issue Feb 16, 2023 · 1 comment

Comments

@mastastealth
Copy link

The previous 0.3.0 build does work for me, but trying to get 1.0.0 running I hit this:

Build Error (Bundler)

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.output has an unknown property 'clean'. These properties are valid:
   object { auxiliaryComment?, chunkCallbackName?, chunkFilename?, chunkLoadTimeout?, crossOriginLoading?, devtoolFallbackModuleFilenameTemplate?, devtoolLineToLine?, devtoolModuleFilenameTemplate?, devtoolNamespace?, filename?, futureEmitAssets?, globalObject?, hashDigest?, hashDigestLength?, hashFunction?, hashSalt?, hotUpdateChunkFilename?, hotUpdateFunction?, hotUpdateMainFilename?, jsonpFunction?, jsonpScriptType?, library?, libraryExport?, libraryTarget?, path?, pathinfo?, publicPath?, sourceMapFilename?, sourcePrefix?, strictModuleExceptionHandling?, umdNamedDefine?, webassemblyModuleFilename? }
   -> Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk

This is a large app with engines/addons, I am not using Embroider yet.

@simonihmig
Copy link
Owner

Which version of webpack is that? Maybe you are still on ember-auto-import v1, which still uses webpack v4 with an incompatible config?

In that case consider upgrading! 😅 But in the meantime you could add you own config to ember-auto-import that writer high quality sourcemaps for webpack v4. I don't have a working config for that at hand though!

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

2 participants