mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Sketch webpack removal
This commit is contained in:
parent
1a088abeef
commit
fdd65ec76e
1 changed files with 15 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
const esbuild = require('esbuild')
|
||||
const fs = require('fs')
|
||||
|
||||
for (let f of ["content", "background", "help", "newtab", "commandline_frame"]) {
|
||||
esbuild.build({
|
||||
|
@ -9,3 +10,17 @@ for (let f of ["content", "background", "help", "newtab", "commandline_frame"])
|
|||
outfile: `buildtemp/${f}.js`,
|
||||
}).catch(() => process.exit(1))
|
||||
}
|
||||
|
||||
// TODO: replace the copywebpackplugin below
|
||||
// await fs.promises.cp()
|
||||
//
|
||||
// { from: "src/manifest.json" },
|
||||
// {
|
||||
// from: "src/static",
|
||||
// to: "static",
|
||||
// globOptions: {
|
||||
// ignore: ["**/*.psd", "**/*1024px.png"],
|
||||
// },
|
||||
// },
|
||||
// { from: "generated/static", to: "static" },
|
||||
// { from: "issue_template.md" },
|
||||
|
|
Loading…
Add table
Reference in a new issue