Created
May 16, 2017 15:43
-
-
Save windse7en/269b316a280f6bff338d3f547d354e79 to your computer and use it in GitHub Desktop.
config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
test: /\.(scss|css)$/, | |
use: ExtractTextPlugin.extract({ | |
fallback: 'style-loader', | |
use: [{ | |
loader: 'css-loader', | |
}, { | |
loader: 'postcss-loader', | |
options: { | |
plugins() { | |
return [ | |
Autoprefixer({ | |
browsers: [ | |
'ie >= 10', | |
'last 2 versions', | |
'last 2 android versions', | |
'last 2 and_chr versions', | |
'iOS >= 8', | |
], | |
}), | |
]; | |
}, | |
}, | |
}, { | |
loader: 'sass-loader', | |
options: { | |
data: `@import "${path.resolve(path.join(__dirname, 'node_modules/terra-legacy-theme/lib/LegacyTheme.scss'))}"; $terra-bidi: true;`, | |
}, | |
}], | |
}), | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment