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
WebPack 5.62.0 raises "Unexpected token: punc ()) " #14662
Comments
For maintainers only:
|
const webpack = require('webpack');
module.exports = {
entry: './index.js',
devtool: 'source-map',
target: 'node14',
mode: 'production',
resolve: {
extensions: ['.js'],
},
plugins: [
new webpack.BannerPlugin({
banner: '#!/usr/bin/env node',
raw: true,
}),
],
}; |
Could you disable |
I am also seeing this error after upgrading from 5.61 to 5.62 |
Found the problem... Fixing... |
sokra
added a commit
that referenced
this issue
Nov 5, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading to
5.62.0
I am getting:Compiling the identical project with
5.61.0
is working without errors.The text was updated successfully, but these errors were encountered: