Skip to content

Commit 8eea865

Browse files
committed
one more time
1 parent d18574f commit 8eea865

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.npmignore

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ npm-debug.log
7272
npm-debug.log*
7373
pids
7474
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
75-
src/
7675
storybook-static
7776
temp/
7877
Temporary Items

bili.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
const config = {
2-
input: 'build/main.js',
2+
input: 'src/main.ts',
33
bundleNodeModules: true,
44
externals: ['vue'],
55
output: {
66
format: ['cjs', 'esm', 'umd'],
77
minify: true,
88
moduleName: 'Grid',
99
extractCSS: false,
10+
sourceMap: true,
1011
dir: 'dist/'
1112
},
1213
plugins: {

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@
2929
"default": "./dist/main.esm.js"
3030
},
3131
"scripts": {
32-
"build": "tsc; bili"
32+
"build": "rm -rf dist; bili;"
3333
},
3434
"files": [
3535
"dist/*",
3636
"src/*",
3737
"./attributes.json",
3838
"./tags.json"
3939
],
40+
"types": "./dist/src/main.ts",
4041
"vetur": {
4142
"tags": "tags.json",
4243
"attributes": "attributes.json"

0 commit comments

Comments
 (0)