posthtml

Parse an HTML template as you require it in JavaScript

▼魔方 西西 提交于 2019-12-10 15:20:03
问题 I spent hours on a basic webpack configuration but I'm still not able to make it work. My aim is to perform the parsing of a html template as you import it in a JavaScript file. It looks like a common use-case, but there should be something odd in my webpack configuration or in my understanding. I looked for configurations of html-loader , html-webpack-plugin , posthtml as well as pug and I've read all of their documentations, but none of them worked. According to PostHTML Readme: PostHTML is