Skip to content

Commit

Permalink
consistent formatting in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Oct 2, 2023
1 parent 64160f8 commit dcf55de
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions generators/app/templates/es5/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const path = require ("path");
const path = require("path");
const CopyWebpackPlugin = require("copy-webpack-plugin");

module.exports = {
entry: "./src/app.js",
output: {
path: path.resolve (__dirname, "dist"),
path: path.resolve(__dirname, "dist"),
filename: "app.js"
},
devtool: "source-map",
resolve: {
alias: {
"openfl": path.resolve (__dirname, "node_modules/openfl/lib/openfl")
"openfl": path.resolve(__dirname, "node_modules/openfl/lib/openfl")
}
},
plugins: [
Expand Down
6 changes: 3 additions & 3 deletions generators/app/templates/es6/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const path = require ("path");
const path = require("path");
const CopyWebpackPlugin = require("copy-webpack-plugin");

module.exports = {
entry: "./src/app.js",
output: {
path: path.resolve (__dirname, "dist"),
path: path.resolve(__dirname, "dist"),
filename: "app.js"
},
devtool: "source-map",
resolve: {
alias: {
"openfl": path.resolve (__dirname, "node_modules/openfl/lib/openfl")
"openfl": path.resolve(__dirname, "node_modules/openfl/lib/openfl")
}
},
module: {
Expand Down
6 changes: 3 additions & 3 deletions generators/app/templates/haxe/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const path = require ("path");
const path = require("path");
const CopyWebpackPlugin = require("copy-webpack-plugin");

module.exports = {
entry: "./build.hxml",
output: {
path: path.resolve (__dirname, "dist"),
path: path.resolve(__dirname, "dist"),
filename: "app.js"
},
devtool: "source-map",
resolve: {
alias: {
"openfl": path.resolve (__dirname, "node_modules/openfl/lib/openfl")
"openfl": path.resolve(__dirname, "node_modules/openfl/lib/openfl")
}
},
module: {
Expand Down
6 changes: 3 additions & 3 deletions generators/app/templates/typescript/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const path = require ("path");
const path = require("path");
const CopyWebpackPlugin = require("copy-webpack-plugin");

module.exports = {
entry: "./src/app.ts",
output: {
path: path.resolve (__dirname, "dist"),
path: path.resolve(__dirname, "dist"),
filename: "app.js"
},
devtool: "source-map",
resolve: {
alias: {
"openfl": path.resolve (__dirname, "node_modules/openfl/lib/openfl")
"openfl": path.resolve(__dirname, "node_modules/openfl/lib/openfl")
},
extensions: ['.tsx', '.ts', '.js']
},
Expand Down

0 comments on commit dcf55de

Please sign in to comment.