Last active
July 29, 2019 12:22
-
-
Save ndelangen/33eb30c21791b5c5cbcece7f61867d23 to your computer and use it in GitHub Desktop.
Using presets
This file contains hidden or 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
export const babel = async (base, config) => ({ | |
rootMode: 'upward', | |
sourceType: 'unambiguous', | |
}); |
This file contains hidden or 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
export const webpack = async (base, config) => { | |
const { default: webpackMerge } = await import('webpack-merge'); | |
return webpackMerge(base, { | |
module: { | |
rules: [{ | |
test: /.scss/, | |
loader: 'sass-loader', | |
}], | |
}); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment