build main distribution directly from source
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
const path = require('path');
|
||||
const babelConfig = require('../../babel.config.js');
|
||||
|
||||
module.exports = {
|
||||
@ -5,18 +6,18 @@ module.exports = {
|
||||
plugins: [
|
||||
...babelConfig.plugins,
|
||||
['module-resolver', {
|
||||
root: './src/components',
|
||||
root: path.join(__dirname, 'src/components'),
|
||||
alias: {
|
||||
src: './src',
|
||||
Actions: './src/actions/',
|
||||
Constants: './src/constants/',
|
||||
Formats: './src/formats/',
|
||||
Integrations: './src/integrations/',
|
||||
Lib: './src/lib/',
|
||||
Reducers: './src/reducers/',
|
||||
Redux: './src/redux/',
|
||||
Routing: './src/routing/',
|
||||
ValueObjects: './src/valueObjects/',
|
||||
src: path.join(__dirname, 'src'),
|
||||
Actions: path.join(__dirname, 'src/actions/'),
|
||||
Constants: path.join(__dirname, 'src/constants/'),
|
||||
Formats: path.join(__dirname, 'src/formats/'),
|
||||
Integrations: path.join(__dirname, 'src/integrations/'),
|
||||
Lib: path.join(__dirname, 'src/lib/'),
|
||||
Reducers: path.join(__dirname, 'src/reducers/'),
|
||||
Redux: path.join(__dirname, 'src/redux/'),
|
||||
Routing: path.join(__dirname, 'src/routing/'),
|
||||
ValueObjects: path.join(__dirname, 'src/valueObjects/'),
|
||||
}
|
||||
}],
|
||||
],
|
||||
|
@ -38,7 +38,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
include: [/redux-notifications/],
|
||||
include: [/(redux-notifications|react-datetime)/],
|
||||
use: ['to-string-loader', 'css-loader'],
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user