izica / html-sass-babel-webpack-boilerplate Goto Github PK
View Code? Open in Web Editor NEWWebpack 4 + Babel + ES6 + SASS + HTML Modules + Livereload
Webpack 4 + Babel + ES6 + SASS + HTML Modules + Livereload
with "npm start" I only see bundle.js injecting in the footer but css not injecting in the header?
Thanks for the fantastic boilerplate!
I'm having a slight issue though which HTML. It is adding some strange entities into my compiled HTML... is the character it seems to be adding and it's displaying as squares in between the text of my site.
This is coming from the bundle.js file, where \v is being added between the HTML strings.
Can you please help?
Hi there,
Great starter pack, thanks for creating!
Can I ask, how would I compile .scss files into multiple .css files?
e.g:
app.scss > app.css
print.scss > print.css
Thanks!
Tom
When i build project, css background image urls not match with /dist folder hierachy so imges not shown.
Example:
i using in development like: url('assets/img/logo.png')
it builded same like that development: url('assets/img/logo.png')
Expectation is: url('../img/logo.png')
I'm adding to error message i think that happen add new .html file to project. If you need to show file i will share my private github repo with contributers.
Html Webpack Plugin:
Error: Child compilation failed:
Module build failed (from ./webpack/loader/html-loader.js):
RangeError: Maximum call stack size exceeded
html-loader.js:10 resolve
C:/code/sevimlikutu-html/webpack/loader/html-loader.js:10:38
Array.forEach
html-loader.js:9 forEach
C:/code/sevimlikutu-html/webpack/loader/html-loader.js:9:18
html-loader.js:12 insertIncludes
C:/code/sevimlikutu-html/webpack/loader/html-loader.js:12:30
Array.forEach
html-loader.js:9 forEach
C:/code/sevimlikutu-html/webpack/loader/html-loader.js:9:18
html-loader.js:12 insertIncludes
C:/code/sevimlikutu-html/webpack/loader/html-loader.js:12:30
Array.forEach
RangeError: Maximum call stack size exceeded
compiler.js:79 childCompiler.runAsChild
[sevimlikutu-html]/[html-webpack-plugin]/lib/compiler.js:79:16
Compiler.js:306 compile
[sevimlikutu-html]/[webpack]/lib/Compiler.js:306:11
Compiler.js:631 hooks.afterCompile.callAsync.err
[sevimlikutu-html]/[webpack]/lib/Compiler.js:631:15
Hook.js:154 AsyncSeriesHook.lazyCompileHook
[sevimlikutu-html]/[tapable]/lib/Hook.js:154:20
Compiler.js:628 compilation.seal.err
[sevimlikutu-html]/[webpack]/lib/Compiler.js:628:31
Hook.js:154 AsyncSeriesHook.lazyCompileHook
[sevimlikutu-html]/[tapable]/lib/Hook.js:154:20
Compilation.js:1329 hooks.optimizeAssets.callAsync.err
[sevimlikutu-html]/[webpack]/lib/Compilation.js:1329:35
Edit: Was having some trouble with the webpack config but I figured it out, thanks for the repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.