Skip to content

bstuff/require-styles-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

require-styles-webpack

HtmlWebpackPlugin Template:

<html>
  <head></head>
  <body>
    <div class="header">Some template stuff</div>
    ${require('./body')}
  </body>
</html>

body/index.js:

import style from './style.styl'; // this line causes the error
import tpl from './tpl.html';

export default tpl;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published