Git Product home page Git Product logo

cjz-cli's Introduction

cjz-cli

进度:

  • webpack构建生成的js文件中还存在ES6语法(=>、const)没被转为ES5语法

遇到的问题: Q: // 没配置下面的规则,照样能转换ttf { test: /.(woff|woff2|eot|ttf|otf)$/i, type: 'asset/resource', }, A:webpack5新增了资源模块,资源模块(asset module)是一种模块类型,它允许使用资源文件(字体,图标等)而无需配置额外 loader。

Q:webpack-dev-server不能监听到index.html的变化??? A:设置index.html一同监听 devServer { static: { directory: path.join(__dirname, 'src/index.html') } }

Q:webpack5热更新失效,且只有css修改后失效 A:https://blog.csdn.net/weixin_42349568/article/details/124287361

Q:webpack构建生成的js文件中还存在ES6语法(=>、const)没被转为ES5语法

Q: runtime bundle 是什么 A: 在运行时,webpack用来连接模块化应用程序所需的代码。它包含:在模块交互时, 连接模块所需的加载和解析逻辑。

cjz-cli's People

Contributors

chenjiezi avatar

Watchers

James Cloos avatar  avatar

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.