Skip to content

Commit

Permalink
Update webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeredwolf committed Apr 27, 2022
1 parent ca199bc commit 56bf86a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ module.exports = {
},
output: {
filename: "[name].js",
path: path.resolve(__dirname, "common/assets"),
// publicPath: "//dangeredwolf.com/",
publicPath: '/',
path: path.resolve(__dirname, "common/assets/js"),
environment: {
arrowFunction: true
},
Expand All @@ -26,6 +24,9 @@ module.exports = {
resolve: {
extensions: [".js", ".jsx", ".ts", ".tsx", ".png", ".jpg", ".mp3", ".mp4", ".aac", ".webp"],
},
experiments: {
topLevelAwait: true
},
plugins: [
// new webpack.DefinePlugin({
// __BUILD_ID__: JSON.stringify(buildId)
Expand Down

0 comments on commit 56bf86a

Please sign in to comment.