style: apply prettier formatting to all files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,19 +3,19 @@ import path from "path";
|
||||
import wasm from "vite-plugin-wasm";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [wasm()], // include wasm plugin
|
||||
build: {
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, "src/index.ts"),
|
||||
name: "buttplug",
|
||||
fileName: "index",
|
||||
formats: ["es"], // this is important
|
||||
},
|
||||
minify: false, // for demo purposes
|
||||
target: "esnext", // this is important as well
|
||||
outDir: "dist",
|
||||
rollupOptions: {
|
||||
external: [/\.\/wasm\//, /\.\.\/wasm\//],
|
||||
},
|
||||
},
|
||||
plugins: [wasm()], // include wasm plugin
|
||||
build: {
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, "src/index.ts"),
|
||||
name: "buttplug",
|
||||
fileName: "index",
|
||||
formats: ["es"], // this is important
|
||||
},
|
||||
minify: false, // for demo purposes
|
||||
target: "esnext", // this is important as well
|
||||
outDir: "dist",
|
||||
rollupOptions: {
|
||||
external: [/\.\/wasm\//, /\.\.\/wasm\//],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user