15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
import { defineConfig } from "vite";
|
|
import scalaJSPlugin from "@scala-js/vite-plugin-scalajs";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
scalaJSPlugin({
|
|
// Configure the plugin to use the browser subproject
|
|
cwd: ".",
|
|
projectID: "browser",
|
|
}),
|
|
],
|
|
build: {
|
|
outDir: "dist/browser",
|
|
},
|
|
});
|