Giter VIP home page Giter VIP logo

marionette-require-boilerplate-lite's Introduction

BoilerplateMVC

The main repository for the BoilerplateMVC project

marionette-require-boilerplate-lite's People

Contributors

brettjonesdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

marionette-require-boilerplate-lite's Issues

Update boilerplate to BRB v1.4.0 updates

The important BRB v1.4.0 updates include adding Grunt support for the Require.js optimizer and adding CSS minification to the build profile settings. This boilerplate should be updated with those changes.

Build failure with Grunt 0.4.1

$ grunt build
Running "requirejs:mainJS" (requirejs) task
>> Tracing dependencies for: libs/almond
>> Error: ENOENT, no such file or directory
>> 'g:\Toolbox\Marionette-Require-Boilerplate-Lite\public\js\App.js'
>> In module tree:
>>     app
Warning: RequireJS failed. Use --force to continue.
Aborted due to warnings.

Below a possible fix:

diff --git Gruntfile.js Gruntfile.js
index ce30342..b75baf4 100644
--- Gruntfile.js
+++ Gruntfile.js
@@ -5,12 +5,12 @@ module.exports = function(grunt) {
         requirejs: {
             mainJS: {
                 options: {
-                    baseUrl: "public/js/",
+                    baseUrl: "public/js/app",
                     paths: {
-                        "app": "app/config/Init"
+                        "app": "config/Init"
                     },
                     wrap: true,
-                        name: "libs/almond",
+                    name: "../libs/almond",
                     preserveLicenseComments: false,
                     optimize: "uglify",
                     mainConfigFile: "public/js/app/config/Init.js",

Cheers.

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.