mirror of
https://github.com/rowtype-yoga/psfp.git
synced 2024-09-17 19:27:25 +03:00
16 lines
360 B
JavaScript
16 lines
360 B
JavaScript
const path = require('path');
|
|
const webpack = require('webpack');
|
|
module.exports = {
|
|
stories: ['../output/**/*.Stories/index.js'],
|
|
addons: [],
|
|
webpackFinal: async config => {
|
|
config.plugins.push(new webpack.SourceMapDevToolPlugin({
|
|
append: '\n//# sourceMappingURL=./[url]',
|
|
}))
|
|
|
|
// do mutation to the config
|
|
return config;
|
|
},
|
|
};
|
|
|