Closed NoFishLikeIan closed 5 years ago
const { sass } = require('webpack-blocks')
becomes
const { sass } = require('@webpack-blocks/sass')
can you make a PR?
const { buildWebpackConfig } = require('webpack-preset-accurapp')
const { match } = require('@webpack-blocks/webpack')
const { css } = require('@webpack-blocks/assets')
const sass = require('@webpack-blocks/sass')
module.exports = buildWebpackConfig([
match(['*.scss'], [css(cssOptions), postcss(postcssOptions), sass()]),
])
@ivanross I'll assign you to it.
@ivanross yes, also the cssOptions and postcssOptions should be made exportable like this
const { buildWebpackConfig, cssOptions, postcssOptions } = require('webpack-preset-accurapp')
The configuration described here gives now an error:
https://github.com/accurat/accurapp#customizing-webpack