Skip to content

Remove ability to configure ts-loader with the ts section of webpack.config.js #425

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

Closed
johnnyreilly opened this issue Dec 20, 2016 · 1 comment · Fixed by #432
Closed

Comments

@johnnyreilly
Copy link
Member

Webpack 2 is stricter in terms of what it allows in the webpack.config.js. It won't allow ts. Your mission, should you choose to accept it, is to only allow configuration of ts-loader via query / options. As well as this you'll have to amend the test pack which relies on being able to configure ts-loader this way at present. Oh and update the docs too.

@johnnyreilly
Copy link
Member Author

Also, query is not passed when using resolveLoader / alias: webpack/enhanced-resolve#41

Until that's fixed take a look at @jbrantly's workaround: webpack/webpack#1289 (comment)

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

Successfully merging a pull request may close this issue.

1 participant