Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Question: How to create inline sourcemap for stylus compilation #141

Closed
henryoliver opened this issue Oct 7, 2017 · 3 comments
Closed

Comments

@henryoliver
Copy link

How to create inline sourcemap for stylus compilation

Hi, appreciate any example here of how inline source mapping could be generated through configuration settings below:

plugins: [
        vue({
            css: './client/dist/components.css',
            stylus: {
                use: [(nib)()],
                compress: false,
                linenos: true
            }
        }),
@znck
Copy link
Member

znck commented Oct 7, 2017

Sourcemaps are not supported yet. We are working on a build tool agnostic SFC compiler (vuejs/vue-component-compiler#29). This would ensure feature parity between vue-loader, rollup-plugin-vue and other similar libraries. It would take a few weeks to finalize till then I'm pausing further development on rollup-plugin-vue.

@znck
Copy link
Member

znck commented May 2, 2018

@vue/component-compiler add inline source map for injected styles.

For extracted styles, yet to figure out.

@znck
Copy link
Member

znck commented Jan 14, 2019

Closing this as:

@vue/component-compiler add inline source map for injected styles.

And extracted styles would have source-map and it's responsibility of css-extraction plugin to add inline source-map.

@znck znck closed this as completed Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants