Skip to content

Commit

Permalink
remove webpack and target es6
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbreuler committed Jun 18, 2022
1 parent d153076 commit d005f1f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 31 deletions.
2 changes: 1 addition & 1 deletion gulp/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function compile() {
console.info(`packaging ${idx} "${task}" into ./dist folder ...`);
esbuild.build({
entryPoints: [`./${task}`],
outfile: path.join(taskDistDir, "index.js"),
outfile: path.join(taskDistDir, "index.mjs"),
platform: "node",
}).catch((error) => { console.error(error); reject(error); })
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@microsoft/powerplatform-build-tools",
"version": "1.0.0",
"engines": {
"node": ">=10.0.0"
"node": ">=14.0.0"
},
"description": "Azure DevOps tasks for Power Platform",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2018",
"target": "es6",
"module": "commonjs",
"outDir": "./dist",
"resolveJsonModule": true,
Expand Down
28 changes: 0 additions & 28 deletions webpack.config.js

This file was deleted.

0 comments on commit d005f1f

Please sign in to comment.