Skip to content

Emit JS? #62

@kaisermann

Description

@kaisermann

I'm currently making a svelte-webpack-template for a somewhat old webkit environment. With babel-preset-env, I'm trying to automatically polyfill my project's and svelte's generated code.

My first attempt was to call babel-loader after svelte-loader was done:

image

Unfortunately, it stopped working with the last updates of svelte-loader/svelte and now babel-loader tries to read the template file itself ( ¯\_(◕_◕)_/¯ ).

My next thought was probably a dumb question, but... would it make sense to "emit" the js generated by the svelte compiler?

(or maybe there's a better way to do this...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions