bump
fix assets bundling
This commit is contained in:
+9
-8
@@ -1,4 +1,3 @@
|
||||
import url from "@rollup/plugin-url";
|
||||
import { defineConfig } from "tsdown";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -10,14 +9,16 @@ export default defineConfig({
|
||||
from: "./src/styles/*.css",
|
||||
to: "./dist",
|
||||
},
|
||||
{
|
||||
from: "./src/assets/**/*",
|
||||
to: "./dist/assets",
|
||||
},
|
||||
],
|
||||
platform: "browser",
|
||||
dts: true,
|
||||
exports: false,
|
||||
plugins: [
|
||||
url({
|
||||
include: ["**/*.mp3", "**/*.wav"],
|
||||
limit: 8192,
|
||||
}),
|
||||
],
|
||||
exports: true,
|
||||
deps: {
|
||||
neverBundle: [/\.mp3$/, /\.wav$/],
|
||||
},
|
||||
plugins: [],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user