Skip to content

Commit e165065

Browse files
author
Matt Lewis
committed
chore: output esm in the root of dist directory
1 parent 2850779 commit e165065

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "angular-calendar",
33
"version": "0.21.3",
44
"description": "A calendar component for angular 4.0+ that can display events on a month, week or day view",
5-
"main": "./dist/umd/angular-calendar.js",
6-
"style": "./dist/css/angular-calendar.css",
7-
"module": "./dist/esm/src/index.js",
8-
"typings": "./dist/esm/src/index.d.ts",
5+
"main": "./umd/angular-calendar.js",
6+
"style": "./css/angular-calendar.css",
7+
"module": "./index.js",
8+
"typings": "./index.d.ts",
99
"scripts": {
1010
"start": "webpack-dev-server --open",
1111
"build:demos": "webpack --env=production",

tsconfig-demos.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"module": "esnext",
5-
"outDir": "./dist/esm",
5+
"outDir": "./dist/aot",
66
"baseUrl": "",
77
"emitDecoratorMetadata": false
88
},

tsconfig-ngc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"module": "es2015",
55
"declaration": true,
66
"stripInternal": true,
7-
"outDir": "./dist/esm",
7+
"outDir": "./dist",
88
"types": [],
99
"emitDecoratorMetadata": false,
1010
"baseUrl": "",
@@ -20,7 +20,7 @@
2020
],
2121
"angularCompilerOptions": {
2222
"strictMetadataEmit": true,
23-
"genDir": "./dist/esm",
23+
"genDir": "./dist",
2424
"skipTemplateCodegen": true,
2525
"trace": true
2626
}

tsconfig.json

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"experimentalDecorators": true,
99
"allowSyntheticDefaultImports": true,
1010
"baseUrl": "",
11-
"rootDir": ".",
1211
"paths": {
1312
"angular-calendar": ["./src/index"]
1413
},

0 commit comments

Comments
 (0)