Git Product home page Git Product logo

videos's Issues

讨论点问题

		rollupOptions: {
 			output: {
 				freeze: false, // vuepg插件会对导入的模块进行assign,所以这里不能freeze
 			}
 		}

看到有这么一行代码
我现在仅是开发中使用还没进行过生产环境打包过,所以并不知道在生产环境打包会出现什么情况

查询了rollup文档,了解到是关于import * as namespaceImportObject from...的使用和冻结

请问是否是指打包后无法调用各种方法呢?

原本并不打算通过这种方式导入导出变量的,但不用这种方式会让VSCode丢失注释,所以最终使用了这种方法

感觉我需要修改

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.