improve builds and local development

This commit is contained in:
Shawn Erquhart
2018-07-23 12:30:15 -04:00
parent aac5167461
commit ef90fb9925
22 changed files with 228 additions and 795 deletions

View File

@ -31,23 +31,19 @@ module.exports = {
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-export-default-from',
['inline-svg', {
svgo: {
plugins: [
{removeViewBox: false},
],
},
}],
],
env: {
production: {
plugins: [
['emotion', {hoist: true}],
['emotion', { hoist: true }],
],
},
development: {
plugins: [
['emotion', {sourceMap: true, autoLabel: true}],
['emotion', {
sourceMap: true,
autoLabel: true,
}],
],
},
},