Skip to content

Make this project compatible with webpack #10

@stevefan1999-personal

Description

@stevefan1999-personal

Hi, I'm working on a meta-transpiler that compiles Vue SFC blocks to different languages and I see that this project is very interesting because I can chain it up with hikerpig/vue-classify to convert classic Vue components into composition API indirectly, but I have some problem how to transpile it in Webpack.

I'm also using Nuxt too and I have added vc2c to build.transpile but I still got eslint, import-modules and various dependency missing error, and all of them are pointing to the missing dependency module, which is ridiculous and very spurious since I explicitly set to transpile this project.

I saw that your project uses Parcel and I quickly come up with a hack to point to src/index.ts and use the emitted file on my Nuxt website;. Indeed it worked but the bundle size is enormous, for 5.5MB. This is clearly not acceptable, so I want to ask you about whether you would switch to rollup and allow ESM passthrough, so I can also share some of the dependencies with other projects too? The biggest problem now is compile time because webpack has to again do compilation on the Parcel bundle which is quite meaningless...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions