We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.config.js
Feature to document
Page - https://webpack.js.org/api/cli/
Author(s)
Any
Additional information
We need document this - webpack/webpack-cli#3905:
There are 5 ways to use typescript in webpack.config.js
webpack -c ./webpack.config.ts
rechoir
interpret
NODE_OPTIONS='--import tsx' webpack --disable-interpret -c ./webpack.config.ts
--import
NODE_OPTIONS='--experimental-strip-types' webpack --disable-interpret -c ./webpack.config.ts
webpack --disable-interpret -c ./webpack.config.ts
NODE_OPTIONS='--no-experimental-strip-types --import tsx' webpack --disable-interpret -c ./webpack.config.ts
tsx
[ ] I am willing to work on this issue and submit a pull request.
/cc @snitin315 Can you help me with it?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Feature to document
Page - https://webpack.js.org/api/cli/
Author(s)
Any
Additional information
We need document this - webpack/webpack-cli#3905:
There are 5 ways to use typescript in
webpack.config.js
webpack -c ./webpack.config.ts
(not all things supported due limitation ofrechoir
andinterpret
)NODE_OPTIONS='--import tsx' webpack --disable-interpret -c ./webpack.config.ts
(using custom--import
for Node.js)NODE_OPTIONS='--experimental-strip-types' webpack --disable-interpret -c ./webpack.config.ts
(using built-in typescript module for Node.js v22.7.0 >= YOU NODE.JS VERSION < v23.6.0)webpack --disable-interpret -c ./webpack.config.ts
(using built-in typescript module for Node.js >= v22.6.0)NODE_OPTIONS='--no-experimental-strip-types --import tsx' webpack --disable-interpret -c ./webpack.config.ts
(using atsx
for Node.js >= v22.6.0)[ ] I am willing to work on this issue and submit a pull request.
/cc @snitin315 Can you help me with it?
The text was updated successfully, but these errors were encountered: