-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyleguide.config.js
32 lines (31 loc) · 966 Bytes
/
styleguide.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const path = require('path')
module.exports = {
webpackConfig: {
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel-loader'
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}
]
}
},
components: 'src/atoms/*.js',
require: [
path.join(__dirname, 'src/design_token/styles/global.css'),
path.join(__dirname, 'src/design_token/styles/button.css'),
path.join(__dirname, 'src/design_token/styles/typography.css'),
path.join(__dirname, 'src/design_token/styles/container.css'),
path.join(__dirname, 'src/design_token/styles/table.css'),
path.join(__dirname, 'src/design_token/styles/modal.css'),
path.join(__dirname, 'src/design_token/styles/bars.css'),
'bootstrap/dist/css/bootstrap.min.css',
'@fortawesome/fontawesome-svg-core/styles.css',
'react-toastify/dist/ReactToastify.css'
],
}