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

Extract scss problem #27

@jbreuer95

Description

@jbreuer95

So i added this to my webpack.config.js

const ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
    vue: {
        loaders: {
            js: 'buble-loader',
            scss: ExtractTextPlugin.extract({
                loader: 'css-loader!sass-loader',
                fallbackLoader: 'vue-style-loader'
            })
        }
    },
    plugins: [
        new ExtractTextPlugin("../css/components.css")
    ]
};

It works and extracts all style tags to an css file, only is also still injects style tags into the head. how do i disable the head style injection?? i have been trying for a whole day, its driving me crazy xD

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