Skip to content

Commit

Permalink
fix(quickadd): fix require.extensions is not supported by webpack. Us…
Browse files Browse the repository at this point in the history
…e a loader instead error (#43)
  • Loading branch information
Damien PORTÉ committed Nov 9, 2024
1 parent aa46393 commit a2816f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 0 additions & 8 deletions obsinflate/.gitmessage
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<Describe the motivation behind this change - explain WHY you are making this change. Wrap all lines
at 100 characters.>

Fixes #<issue number>

# ────────────────────────────────────────── 100 chars ─────────────────────────────────────────────

# Example Commit Messages
Expand All @@ -20,8 +18,6 @@ Fixes #<issue number>

# ─── Example: Simple docs change ──────────────────────────────────────────────────────────────────
# docs: add the development detup chapter in the readme.md guide (#36332)
#
# Fixes #36332
# ──────────────────────────────────────────────────────────────────────────────────────────────────


Expand Down Expand Up @@ -67,9 +63,6 @@ Fixes #<issue number>
# dependency injection.
# - hello-world: Samples.
# - inflates: The inflates implementations.
#
#
# Fixes #1234
# ──────────────────────────────────────────────────────────────────────────────────────────────────


Expand Down Expand Up @@ -130,7 +123,6 @@ Fixes #<issue number>
# <breaking change description + migration instructions>
# <BLANK LINE>
# <BLANK LINE>
# Fixes #<issue number>
# ```
#
# Breaking Change section should start with the phrase "BREAKING CHANGE: " followed by a summary of
Expand Down
5 changes: 4 additions & 1 deletion obsinflate/webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ module.exports = (entryName, bundleName, bundlePath, extraConfig = {}) => {
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
plugins: [new TsconfigPathsPlugin({})]
plugins: [new TsconfigPathsPlugin({})],
alias: {
handlebars: 'handlebars/dist/handlebars.min.js'
}
},
output: {
filename: `${bundleName}.js`,
Expand Down

0 comments on commit a2816f0

Please sign in to comment.