gulp-requirejs-optimize
gulp-requirejs-optimize copied to clipboard
Wrapper for the requirejs optimizer for use in gulp
I want to optimie all the modules into one singel file and a wrap over it.But its not doing that. Here is the code. `var gulp = require('gulp') var requirejsOptimize...
` findNestedDependencies: true, paths: { 'some-module-1':'path/to/module-1' } ` index.js ` define([..], ()=> { ... require(['some-module-1'], ()=>{}) ... }) ` expect: 'some-module-1' inside bundle and full/path/to/module-1.js in log. actual: module ignored.
I did not find any way to use closure compiler. Is there a way to use gulp-closure-compiler?
When I include a module that is defined like so: ``` define("foo", [ ], function() { return { // ... }; }); ``` And I clude that module early in...
I have a multi-module project and the file structure is like below, / |-- build | |-- modules | | --- moduleA.js // require([a,b,c,d,e...]) | | --- moduleB.js // require([a,b,c,d,e...])...
I want to optimize some modules with the requirejs optimizer, but ran into a problem concerning paths. The `main.js` entry point requires the component on `/build/modules/`, but the name of...
I could be setting this up wrong, but here is my issue: I am noticing in the error log that it is looking for a file that doesn't exist. `Error:...
It seems this plugin is messing up sourcemaps somehow, as researched in this issue: https://github.com/floridoo/gulp-sourcemaps/issues/278 Can someone with a bit more know-how on gulp-requirejs-optimize please look into this?