mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
global: use tsup for bundling packages
This commit is contained in:
3180
package-lock.json
generated
3180
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -53,7 +53,8 @@
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"husky": "^8.0.1",
|
||||
"prettier": "^2.8.8",
|
||||
"serve": "^14.0.1"
|
||||
"serve": "^14.0.1",
|
||||
"tsup": "^8.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint-plugin-header": "^3.1.1",
|
||||
|
||||
28
tsup.config.ts
Normal file
28
tsup.config.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
This file is part of the Notesnook project (https://notesnook.com/)
|
||||
|
||||
Copyright (C) 2023 Streetwriters (Private) Limited
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
export default defineConfig({
|
||||
clean: true,
|
||||
cjsInterop: true,
|
||||
dts: true,
|
||||
splitting: false,
|
||||
format: ["cjs", "esm"]
|
||||
});
|
||||
Reference in New Issue
Block a user