mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-18 16:04:10 +00:00
23 lines
337 B
JavaScript
23 lines
337 B
JavaScript
const path = require('path');
|
|
|
|
const web = {
|
|
target: 'web',
|
|
mode: 'development',
|
|
devtool: 'source-map',
|
|
resolve: {
|
|
fallback: {
|
|
path: false,
|
|
fs: false,
|
|
}
|
|
},
|
|
output: {
|
|
filename: 'gpu-browser.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
libraryTarget: 'window',
|
|
},
|
|
};
|
|
|
|
|
|
|
|
module.exports = [web];
|