Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use style-resources-loader #22

Closed
super918180 opened this issue Oct 24, 2019 · 1 comment
Closed

how to use style-resources-loader #22

super918180 opened this issue Oct 24, 2019 · 1 comment

Comments

@super918180
Copy link

// webpack.config.js module: { rules: [{ test: /\.scss$/, use: ['style-loader', 'css-loader', 'sass-loader', { loader: 'style-resources-loader', options: { patterns: [ path.resolve(__dirname, 'path/to/scss/variables/*.scss'), path.resolve(__dirname, 'path/to/scss/mixins/*.scss'), ] } }] }] },

image

@hubcarl
Copy link
Collaborator

hubcarl commented Oct 25, 2019

issue repeat easy-team/egg-vue-webpack-boilerplate#132

@hubcarl hubcarl closed this as completed Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants