Comments (4)
Hi Ryan,
You're right the bootstrap assets should also be copied in the build task, I've made a change to the gruntfile.js so it would use an environmental configuration so now, you'll be able to use any of the configuration file to load your assets. It also supports CDN based assets, since we're separating the project js assets from the lib assets, and detect when you use a library from CDN. The last part would be to copy the font files from the bootstrap folder using the copy task.
I would love if you could introduce a PR to the 0.3.0 branch, and will gladly merge it before we release the new version.
Thanks,
Amos
from mean.
Do you still want me to make a PR to the 0.3.0 branch to fix this? I noticed you removed the lib css files from the minify step in 0.3.1 and I want to make sure this change is still desired/relevant.
from mean.
hi @ryanlatham,
0.3.0 was released, we decided to use the minified versions that comes pre-bundled with each library(as you can see in the 'production.js' file), this means we only minify our own project files, and use the provided minified/CDN versions for our third-party libraries, what do you think?
from mean.
Hello I'm running "grunt build" in order to deploy it into production server , so then I try to run it like so
node application.min.js
/home/padmin/local/deploy/p_aug2020141718/public/dist/application.min.js:1
isterModule:registerModule,accessLevel:access,appRoles:appRoles}}();angular.mo
^
ReferenceError: angular is not defined
at Object.<anonymous> (/home/padmin/local/deploy/p_aug2020141718/public/dist/application.min.js:1:802)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
any hints on how to make this work?
by the way I even try downloading a new project from githut and run it an have the same issues
so I don't think is related to copying assets from all.js to production.js
from mean.
Related Issues (20)
- tion HOT 1
- Is MEAN.js still maintained? HOT 8
- missing apt package to install
- error when deploy to heroku
- Gulp tasks broken after upgrading to Gulp v4
- Travis CI fails on Windows build
- "npm install" fails on macOS mojave HOT 1
- npm install fails with "error: ‘class v8::Object’ has no member named ‘ForceSet’" on node-sass with node v10.15.1 HOT 5
- How is the Authentication process working in the meanjs? Where does the process flow starts when a website is loaded which file gets loaded and what are the files that are called in an orderly manner while checking authenicaton?
- Any free server available for deploy small mean stack application.
- Is MEAN.JS planning to upgrade framework with Angular2+ if yes then when it could be done if not then what about AngularJS abandaon thing?
- npm install error according the mean's doc! HOT 1
- How to connect two different databases from mongoose for the same project HOT 2
- Improving speed of MEAN Stack application HOT 1
- RPi4 ubuntu-standard default installation permission issue HOT 1
- Getting started guide using mac doesn't work HOT 2
- Getting errors on npm install and npm start on Windows HOT 5
- meanjs stack failled submit form
- meanjs stack failled submit HOT 7
- Question about Future HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mean.