Sha256: bf2402bf112a7a097156449e16c2db861177cf2711997ed85a4aab8bbe0da155
Contents?: true
Size: 922 Bytes
Versions: 1
Compression:
Stored size: 922 Bytes
Contents
import build from "./config/esbuild.defaults.js" // You can customize this as you wish, perhaps to add new esbuild plugins. // // ``` // import { copy } from 'esbuild-plugin-copy' // // const esbuildOptions = { // plugins: [ // copy({ // resolveFrom: 'cwd', // assets: { // from: ['./node_modules/somepackage/files/*')], // to: ['./output/_bridgetown/somepackage/files')], // }, // verbose: false // }), // ] // } // ``` // // You can also support custom base_path deployments via changing `publicPath`. // // ``` // const esbuildOptions = { // publicPath: "/my_subfolder/_bridgetown/static", // ... // } // ``` /** * @typedef { import("esbuild").BuildOptions } BuildOptions * @type {BuildOptions} */ const esbuildOptions = { plugins: [ // add new plugins here... ], globOptions: { excludeFilter: /\.(dsd|lit)\.css$/ } } build(esbuildOptions)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-core-2.0.0.beta3 | lib/bridgetown-core/commands/esbuild/esbuild.config.js |