mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 20:46:37 +02:00
📎 Fix some missing changes
This commit is contained in:
parent
b80ccbec0f
commit
c8c83c1e1d
58 changed files with 551 additions and 504 deletions
|
@ -1,26 +1,23 @@
|
|||
import { resolve } from "node:path";
|
||||
import { defineConfig } from "vite";
|
||||
import { coverageConfigDefaults } from 'vitest/config'
|
||||
import { coverageConfigDefaults } from "vitest/config"
|
||||
|
||||
export default defineConfig({
|
||||
root: "./src",
|
||||
resolve: {
|
||||
alias: {
|
||||
"~": resolve("."),
|
||||
"~": resolve("./src"),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
minify: false,
|
||||
minify: true,
|
||||
sourcemap: true,
|
||||
lib: {
|
||||
entry: "editor/TextEditor.js",
|
||||
entry: "src/editor/TextEditor.js",
|
||||
name: "TextEditor",
|
||||
fileName: "TextEditor",
|
||||
formats: ["es"],
|
||||
},
|
||||
terserOptions: {
|
||||
compress: true,
|
||||
mangle: true,
|
||||
},
|
||||
},
|
||||
test: {
|
||||
coverage: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue