mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-08-10 21:19:28 -04:00
initial commit
This commit is contained in:
commit
b0cb3950fa
8 changed files with 268 additions and 0 deletions
23
webpack.config.js
Normal file
23
webpack.config.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
var path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
'dist': './src/index.js'
|
||||
},
|
||||
output: {
|
||||
path: __dirname,
|
||||
library: 'AudioEngine',
|
||||
libraryTarget: 'commonjs2',
|
||||
filename: '[name].js'
|
||||
},
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
include: path.resolve(__dirname, 'src'),
|
||||
query: {
|
||||
presets: ['es2015']
|
||||
}
|
||||
}]
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue