Skip to content

Commit

Permalink
Add references to new js and css
Browse files Browse the repository at this point in the history
  • Loading branch information
kordwarshuis committed Jul 26, 2024
1 parent bd7c05f commit 9bdf2c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
main: './src/typesenseInstantSearchInit.js',
additional1: './src/typesenseInstantSearch.js',
additional2: './src/scrollHorizontallyToKeyWordInSearchResults.js',
additional3: './src/backToTop.js'
},
output: {
// filename: '[name].[contenthash].bundle.js', // Generates main.bundle.js, additional1.bundle.js, etc.
Expand All @@ -35,8 +36,8 @@ module.exports = {
new CopyWebpackPlugin({
patterns: [
{ from: 'index.html', to: './' }, // Adjust the 'from' path as necessary
{ from: 'output/indexed-in-KERISSE.html', to: './' }, // Adjust the 'from' path as necessary
{ from: 'src/custom.css', to: './custom.css' },
{ from: 'output/indexed-in-KERISSE.html', to: './' },
{ from: 'src/*.css', to: '[name][ext]' },
{ from: 'src/*.svg', to: 'icons/[name][ext]' },
{ from: 'src/*.png', to: '[name][ext]' },

Expand Down

0 comments on commit 9bdf2c9

Please sign in to comment.