skip to Main Content

Javascript – I can't connect js script to my html file using handlebars engine (I use webpack)

When I paste script tag to html file which collected with html-buldler-webpack-plugin I getting error: "TypeError: Found non-callable @@iterator". This my webpack.config: const path = require('path') const HtmlBundlerPlugin = require('html-bundler-webpack-plugin') module.exports = { mode: 'development', entry: './src/js/main.js', output: { filename:…

VIEW QUESTION
Back To Top
Search