Giter Club home page Giter Club logo

Comments (8)

chuckdumont avatar chuckdumont commented on August 16, 2024

Thanks for the test case. Investigating...

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

@agavrilov - Please try release 2.8.16-rc1 and verify that it resolves your issue.

from dojo-webpack-plugin.

agavrilov avatar agavrilov commented on August 16, 2024

@chuckdumont We are also using 'mini-css-extract-plugin'. It looks like it is causing the similar issue. See my updated branch at https://github.com/agavrilov/dojo-webpack-plugin-sample/tree/html-webpack-plugin-error

ERROR in   Error: C:\P\git\dojo-webpack-plugin-sample\node_modules\css-loader\dist\cjs.js!C:\P\git\dojo-webpack-plugin-sample\node_modules\dijit\themes\claro\  claro.css:168
  /******/  throw new Error('Module not found: ' + mid);
            ^
  Error: Module not found: C:\P\git\dojo-webpack-plugin-sample\node_modules\lodash\lodash.js

  - claro.css:168 findModule
    [dojo-webpack-plugin-sample]/[dojo-webpack-plugin-sample]/[dijit]/themes/claro/claro.css:168:21

  - claro.css:194 contextRequire
    [dojo-webpack-plugin-sample]/[dojo-webpack-plugin-sample]/[dijit]/themes/claro/claro.css:194:23

  - claro.css:100 req
    [dojo-webpack-plugin-sample]/[dojo-webpack-plugin-sample]/[dijit]/themes/claro/claro.css:100:21

  - template.html:98 Object.<anonymous>
    C:/P/git/dojo-webpack-plugin-sample/template.html:98:9

  - template.html:21 __webpack_require__
    C:/P/git/dojo-webpack-plugin-sample/template.html:21:30

  - template.html:85
    C:/P/git/dojo-webpack-plugin-sample/template.html:85:18

  - template.html:88
    C:/P/git/dojo-webpack-plugin-sample/template.html:88:10

  - index.js:314 HtmlWebpackPlugin.evaluateCompilationResult
    [dojo-webpack-plugin-sample]/[html-webpack-plugin]/index.js:314:28

  - index.js:230
    [dojo-webpack-plugin-sample]/[html-webpack-plugin]/index.js:230:22

  - async Promise.all

  - async Promise.all

from dojo-webpack-plugin.

agavrilov avatar agavrilov commented on August 16, 2024

@chuckdumont Unfortunately, I cannot re-open this issue. Should I open a new one?

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

Try adding the following to the DojoWebpackPlugin options in your webpack.config.js:

	ignoredCompilationNames: [/^mini-css-extract-plugin\s/],

from dojo-webpack-plugin.

agavrilov avatar agavrilov commented on August 16, 2024

@chuckdumont It works! Thanks!

from dojo-webpack-plugin.

agavrilov avatar agavrilov commented on August 16, 2024

@chuckdumont Is there any plan to release a new version with this fix? Thanks!

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

I've published v2.8.16. Note that you no longer need the ignoreCompilationNames entry in the dojo-webpack-plugin options, however, it won't cause any problems leaving it there.

from dojo-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.