Giter VIP home page Giter VIP logo

Comments (3)

GreatZPP avatar GreatZPP commented on May 22, 2024

可尝试先在package.json中做以下修改,给build加上--prod选项:

"scripts": {
  ...
  "build": "ng build --prod",
  ...
}

我们将在后续版本中对文档进行更新。

from ng-devui-admin.

xiejay97 avatar xiejay97 commented on May 22, 2024

代码混淆不是为了加密商业源码吗, js 作为解释型语言, 混淆没多大意义, 太容易破解了

from ng-devui-admin.

ricenoddle avatar ricenoddle commented on May 22, 2024

代码混淆不是为了加密商业源码吗, js 作为解释型语言, 混淆没多大意义, 太容易破解了

可以参考一下官网https://angular.cn/guide/deployment,一般来说 --prod就会帮你做代码混淆了

from ng-devui-admin.

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.