mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
setup project
This commit is contained in:
15
build.js
Normal file
15
build.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const esbuild = require('esbuild');
|
||||
const path = require('path');
|
||||
|
||||
esbuild.build({
|
||||
entryPoints: [path.join(__dirname, 'shims', 'loader.js')],
|
||||
bundle: true,
|
||||
outfile: path.join(__dirname, 'dist', 'shim-loader.js'),
|
||||
format: 'iife',
|
||||
platform: 'browser',
|
||||
target: ['chrome90'],
|
||||
alias: {
|
||||
'path': 'path-browserify',
|
||||
},
|
||||
logLevel: 'info',
|
||||
}).catch(() => process.exit(1));
|
||||
Reference in New Issue
Block a user