antv-l7/gatsby-node.js

8 lines
234 B
JavaScript
Raw Normal View History

2019-11-14 18:15:58 +08:00
const setWebpackConfig = require('./.storybook/webpack.config');
exports.onCreateWebpackConfig = ({ getConfig, stage, plugins }) => {
const config = getConfig();
config.resolve.extensions.push('.glsl');
console.log(config);
};