You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a TypeScript project using vue-cli with a --target lib setting.
As I need typings along with the bundle files, I've tried to make vue.config.js set transpileOnly and happyPackMode options of ts-loader to false by doing the following:
Version
3.0.0
Node and OS info
node 10.8.0, npm 6.2.0, macOS HighSierra 10.13.6
Steps to reproduce
What is expected?
I'm trying to build a TypeScript project using vue-cli with a
--target lib
setting.As I need typings along with the bundle files, I've tried to make vue.config.js set
transpileOnly
andhappyPackMode
options ofts-loader
to false by doing the following:What is actually happening?
Unfortunately, building with this configuration results in an error thrown by
ts-loader
:Full source code of the project can be found here: https://github.com/ol-ko/vue-cli-ts-loader-error
Creating an issue here, as same versions of ts-loader (4.4.2) and webpack (4.16.5) seem to work fine in isolation from vue-cli.
Thanks!
The text was updated successfully, but these errors were encountered: