mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-23 06:02:30 -05:00
17 lines
391 B
JavaScript
17 lines
391 B
JavaScript
|
const path = require('path');
|
||
|
|
||
|
const makeConfig = require('./webpack.makeConfig.js');
|
||
|
|
||
|
module.exports = defaultConfig =>
|
||
|
makeConfig(
|
||
|
defaultConfig,
|
||
|
{
|
||
|
name: 'main',
|
||
|
useReact: false,
|
||
|
disableDefaultRulesForExtensions: ['js'],
|
||
|
babelPaths: [
|
||
|
path.resolve(__dirname, 'src', 'main')
|
||
|
]
|
||
|
}
|
||
|
);
|