diff --git a/common/makefile b/common/makefile index 9dc1418..c43cd5a 100644 --- a/common/makefile +++ b/common/makefile @@ -6,12 +6,12 @@ CJS_LOCATION=./cjs all: esm cjs esm: - mkdir $(ESM_LOCATION) --parents + @mkdir $(ESM_LOCATION) --parents tsc --module es6 --outDir $(ESM_LOCATION) cp ./package.template.json $(ESM_LOCATION)/package.json cjs: - mkdir $(CJS_LOCATION) --parents + @mkdir $(CJS_LOCATION) --parents tsc --module commonjs --outDir $(CJS_LOCATION) cp ./package.template.json $(CJS_LOCATION)/package.json