fix sw build
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
// @ts-check
|
||||
|
||||
const esbuild = require('esbuild');
|
||||
const locales = require('../../locales');
|
||||
const meta = require('../../package.json');
|
||||
import * as esbuild from 'esbuild';
|
||||
import locales from '../../locales/index.js';
|
||||
import meta from '../../package.json' assert { type: "json" };
|
||||
import { fileURLToPath } from 'node:url';
|
||||
const watch = process.argv[2]?.includes('watch');
|
||||
|
||||
const __dirname = fileURLToPath(new URL(".", import.meta.url))
|
||||
|
||||
console.log('Starting SW building...');
|
||||
|
||||
/** @type {esbuild.BuildOptions} */
|
||||
|
Reference in New Issue
Block a user