Skip to content

Commit

Permalink
feat: add build process
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Jul 19, 2018
1 parent c1c15b5 commit d26fdc1
Show file tree
Hide file tree
Showing 7 changed files with 3,317 additions and 4,075 deletions.
9 changes: 9 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": [
["moxy", {
"react": true,
"namedDefaultExport": false,
"targets": ["browsers"]
}]
]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
npm-debug.log
/coverage
/lib
/es
/styles
10 changes: 1 addition & 9 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@ module.exports = (config) => {
localIdentName: '[name]__[local]___[hash:base64:5]!',
},
},
{
loader: 'postcss-loader',
options: require('postcss-preset-moxy')({
// Any non-relative imports are resolved to this path
importPath: path.join(__dirname, '../src/styles/imports'),
// Process relative url statements
url: true,
}),
},
'postcss-loader',
],
});

Expand Down
Loading

0 comments on commit d26fdc1

Please sign in to comment.