Sha256: 62ff60d242ccf85036caf1f1d4336fd25fbb59fa78e9d4f1ef671c22add81917
Contents?: true
Size: 993 Bytes
Versions: 8
Compression:
Stored size: 993 Bytes
Contents
const build = require("./config/esbuild.defaults.js") // You can customize this as you wish, perhaps to add new esbuild plugins. // // ``` // const path = require("path") // const esbuildCopy = require('esbuild-plugin-copy').default // const esbuildOptions = { // plugins: [ // esbuildCopy({ // assets: { // from: [path.resolve(__dirname, 'node_modules/somepackage/files/*')], // to: [path.resolve(__dirname, '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
8 entries across 8 versions & 1 rubygems