Giter Site home page Giter Site logo

Comments (8)

AsaAyers avatar AsaAyers commented on May 18, 2024 10

Thanks. I'm trying out your branch. It doesn't seem to be picking up my files automatically, but I can do this and it works. ¯_(ツ)_/¯

    <link rel="apple-touch-icon" href="<%= require('./assets/img/touch-icon-iphone.png') %>">

from html-webpack-plugin.

jantimon avatar jantimon commented on May 18, 2024

Take a look at the 2.0 branch: https://github.com/ampedandwired/html-webpack-plugin/blob/feature/loaders/examples/html-loader/template.html

from html-webpack-plugin.

AsaAyers avatar AsaAyers commented on May 18, 2024

How close is this 2.0 branch to being ready? I have a production browserify project that I'm almost done converting to webpack. This is the last piece of the puzzle.

from html-webpack-plugin.

jantimon avatar jantimon commented on May 18, 2024

Well - I guess 2.0 is more or less feature complete but might need some further improvements.

If you don't want to use the 2.0 beta of this plugin might help you: https://www.npmjs.com/package/transfer-webpack-plugin

from html-webpack-plugin.

jantimon avatar jantimon commented on May 18, 2024

If it doesn't picking up links it might be a bug of the html-loader

from html-webpack-plugin.

bmueller-sykes avatar bmueller-sykes commented on May 18, 2024

I'm after the exact same thing. I'd like to be able to inject images (and possibly even css files) into a template, and then have those assets get built as part of the normal webpack build. I'm not specifically seeing a "2.0" branch. Do you mean the "feature/loaders" branch?

from html-webpack-plugin.

jantimon avatar jantimon commented on May 18, 2024

Yeah that's the one.. however it seems like that the extract-text-plugin does not work with child compilations.. so css is not supported by now

from html-webpack-plugin.

lock avatar lock commented on May 18, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from html-webpack-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.