/** @type {import("snowpack").SnowpackUserConfig } */ module.exports = { mount: { public: { url: '/', static: true }, src: { url: '/dist' }, }, plugins: [ '@snowpack/plugin-react-refresh', '@snowpack/plugin-dotenv', '@snowpack/plugin-postcss', [ '@snowpack/plugin-typescript', { /* Yarn PnP workaround: see https://www.npmjs.com/package/@snowpack/plugin-typescript */ ...(process.versions.pnp ? { tsc: 'yarn pnpify tsc' } : {}), }, ], // [ // '@snowpack/plugin-webpack', // { // outputPattern: { // js: 'index.js', // css: 'index.css', // }, // }, // ], ], routes: [ /* Enable an SPA Fallback in development: */ // {"match": "routes", "src": ".*", "dest": "/index.html"}, ], optimize: { /* Example: Bundle your final build: */ // "bundle": true, }, packageOptions: { /* ... */ }, devOptions: { /* ... */ }, buildOptions: { /* ... */ }, };