Giter VIP home page Giter VIP logo

easypack's Introduction

Hi there ๐Ÿ‘‹

easypack's People

Contributors

bitdeli-chef avatar shaunakv1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

vesten

easypack's Issues

Multiple html files

It seems to be impossible to create two different packages for two different html files within the same project.
So something like this does not work:

var sb = require("easypack");
sb.build({
	webRoot: "root",
	inputHtml: "index.html",
	outputHtml: "index.build.html",
	jsBuildName: "main.js",
	timeStampBuild: false
});

sb.build({
	webRoot: "root",
	inputHtml: "rulesIndex.html",
	outputHtml: "rulesIndex.build.html",
	jsBuildName: "rules.js",
	timeStampBuild: false
});

it only creates rulesIndex.build.html, the first html will not be created.
It seams that the build() function always clears the build folder.

Copy entire web project into build dir and create a clean build

Currently only packed javascript and css files are being created into the build directory and a index.html is created on the same level as input html. Then the new packed js and css files are included in the new html.

Instead create a whole new clean copy of the project inside the build directory. This will also fix this issue#2 with relative paths.

Random

Thanks for the effort, but two important issues make it unusable (i was trying to build an Ionic app).

  • The build empties all tags/markup inside your ! ๐Ÿ˜„
  • Any CSS file is jsut ignored... (link ref is here but css folder is empty).

I have a very simple config setup...

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.