luma.gl/examples/core/shadowmap/webpack.config.js
2017-10-02 11:27:54 -07:00

11 lines
276 B
JavaScript

const {resolve} = require('path');
const CONFIG = {
entry: {
app: resolve('./app.js')
}
};
// This line enables bundling against src in this repo rather than installed module
module.exports = env => env ? require('../../webpack.config.local')(CONFIG)(env) : CONFIG;