mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-23 06:02:30 -05:00
19 lines
481 B
JavaScript
19 lines
481 B
JavaScript
const path = require('path');
|
|
|
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
|
|
const makeConfig = require('./webpack.makeConfig.js');
|
|
|
|
module.exports = makeConfig({
|
|
name: 'renderer',
|
|
useReact: true,
|
|
babelPaths: [
|
|
path.resolve(__dirname, 'src', 'renderer')
|
|
],
|
|
plugins: [
|
|
new CopyWebpackPlugin([{
|
|
from: path.resolve(__dirname, 'node_modules', 'scratch-gui', 'dist', 'static'),
|
|
to: 'static'
|
|
}])
|
|
]
|
|
});
|