📝: update
This commit is contained in:
@@ -24,6 +24,16 @@ export default (): UserConfigExport => {
|
||||
formats: ["es"],
|
||||
fileName: (name) => `index.js`,
|
||||
},
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
globals: {
|
||||
|
||||
@@ -67,6 +67,16 @@ export default (): UserConfigExport => {
|
||||
entry: resolve(process.cwd(), "./src/index.ts"),
|
||||
formats: ["es"],
|
||||
},
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
input: inputs,
|
||||
output: {
|
||||
|
||||
@@ -24,6 +24,16 @@ export default (): UserConfigExport => {
|
||||
formats: ["umd"],
|
||||
fileName: (name) => `index.js`,
|
||||
},
|
||||
terserOptions: {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
globals: {
|
||||
|
||||
@@ -366,7 +366,11 @@ props.dataSource.map((value: any) => {
|
||||
:style="{ height: height, maxHeight: maxHeight }"
|
||||
ref="tableBody"
|
||||
>
|
||||
<table class="layui-table" :class="{'layui-table-even': props.even}" :lay-size="size">
|
||||
<table
|
||||
class="layui-table"
|
||||
:class="{ 'layui-table-even': props.even }"
|
||||
:lay-size="size"
|
||||
>
|
||||
<colgroup>
|
||||
<col v-if="checkbox" class="layui-table-col-special" />
|
||||
<template v-for="column in columns" :key="column">
|
||||
|
||||
Reference in New Issue
Block a user