Ai
187 Star 1.7K Fork 405

GVPAPITable/APITable

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rollup.config.js 964 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zoe 提交于 2024-02-05 11:56 +08:00 . sync: hosted cloud (#1605)
import * as path from 'path';
import alias from '@rollup/plugin-alias';
import commonjs from '@rollup/plugin-commonjs';
import image from '@rollup/plugin-image';
import json from '@rollup/plugin-json';
import typescript from '@rollup/plugin-typescript';
import postcss from 'rollup-plugin-postcss';
import tailwindcss from 'tailwindcss';
export default {
input: 'src/index.ts',
output: {
// file: 'dist/index.esm.js',
format: 'es',
dir: 'dist',
preserveModules: true,
preserveModulesRoot: 'src'
},
plugins: [
commonjs(),
typescript({
noEmitOnError: false,
}),
json(),
image(),
postcss({
// extract: false,
extensions: ['.css', '.less'],
plugins: [tailwindcss],
modules: {
localsConvention: 'camelCase',
},
}),
alias({
entries: [{ find: 'static', replacement: path.resolve(path.resolve(__dirname), 'src/static') }],
}),
],
external: ['tslib']
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/apitable/APITable.git
git@gitee.com:apitable/APITable.git
apitable
APITable
APITable
develop

搜索帮助