mirror of
https://github.com/mathuo/dockview
synced 2025-05-02 01:28:28 +00:00
bug: fix esm output
This commit is contained in:
parent
7dafd633c2
commit
f877de7e98
@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"module": "es6",
|
||||
"declaration": true,
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"downlevelIteration": true,
|
@ -4,7 +4,7 @@
|
||||
"description": "Zero dependency layout manager supporting tabs, grids and splitviews with ReactJS support",
|
||||
"main": "dist/cjs/index.js",
|
||||
"types": "dist/cjs/index.d.ts",
|
||||
"module": "dist/es6/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mathuo/dockview.git"
|
||||
@ -14,7 +14,7 @@
|
||||
"build-gulp": "cross-env ../../node_modules/.bin/gulp run",
|
||||
"docs": "typedoc",
|
||||
"build-css": "gulp sass",
|
||||
"build-es6": "cross-env ../../node_modules/.bin/tsc --project tsconfig.es6.json --extendedDiagnostics",
|
||||
"build-es6": "cross-env ../../node_modules/.bin/tsc --project tsconfig.esm.json --extendedDiagnostics",
|
||||
"build-cjs": "cross-env ../../node_modules/.bin/tsc --project tsconfig.json --extendedDiagnostics",
|
||||
"build": "npm run build-cjs && npm run build-es6 && npm run build-css",
|
||||
"clean": "rimraf dist/ .build/",
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"extends": "../../module-build/tsconfig.es6.json",
|
||||
"extends": "../../module-build/tsconfig.esm.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist/es6",
|
||||
"tsBuildInfoFile": ".build/tsconfig.tsbuildinfo.es6",
|
||||
"outDir": "dist/esm",
|
||||
"tsBuildInfoFile": ".build/tsconfig.tsbuildinfo.esm",
|
||||
"jsx": "react",
|
||||
// "baseUrl": "."
|
||||
"rootDir": "src"
|
Loading…
Reference in New Issue
Block a user