mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
4a9cdc7f4a
* Initial version of scratch-l10n package
20 lines
442 B
JavaScript
20 lines
442 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
devtool: 'cheap-module-source-map',
|
|
module: {
|
|
rules: [{
|
|
test: /\.js$/,
|
|
loader: 'babel-loader',
|
|
include: path.resolve(__dirname, 'src')
|
|
}]
|
|
},
|
|
entry: {
|
|
l10n: './src/index.js'
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'),
|
|
filename: '[name].js',
|
|
libraryTarget: 'commonjs2'
|
|
}
|
|
};
|