Giter VIP home page Giter VIP logo

sublime-combineandminify's People

Contributors

joelcarlton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sublime-combineandminify's Issues

Sending for Mminification over a slow connection blocks ST

Having a slow connection you may wait almost forever.. Example of log is below:

Initiating Minification
Trashing Old Master File
Sending JavaScript for Minification
Saving Minified Version

Operation Compleated in 21.42 seconds.

I have a local minimizer in ST. Why don't just use it? I can't find a hint how to set up this plugin to use the local minimizer.

Launch error

Hi, I keep getting the following error at startup. What can I do to resolve it?

reloading plugin CombineAndMinify.CombineAndMinfiy
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "CombineAndMinfiy in C:\Users\Stagiair\AppData\Roaming\Sublime Text 3\Installed Packages\CombineAndMinify.sublime-package", line 27
    print '\nInitiating Minification'
                                    ^
SyntaxError: invalid syntax

Thank you.

Problems with the pathnames

It seems like it doesn't recognize the /C/projectDir - the way that project paths are defined in sublime text 2. Had to import re and do the following to get it to work.

        fileList = re.sub(r"^/C", 'C:', fileList)
        fileList = re.sub("/", r'\\', fileList)

        inPath = re.sub(r"^/C", 'C:', inPath)
        inPath = re.sub("/", r'\\', inPath)

        outPath = re.sub(r"^/C", 'C:', outPath)
        outPath = re.sub("/", r'\\', outPath)

        jsMaster = re.sub(r"^/C", 'C:', jsMaster)
        jsMaster = re.sub("/", r'\\', jsMaster)

        jsMinify = re.sub(r"^/C", 'C:', jsMinify)
        jsMinify = re.sub("/", r'\\', jsMinify)

Great little script by the way.

Build Failed: FileList does not exist error

Hello,
I was using this to combine a bunch of external JS files and followed the instructions as they stated. Everytime I click build, I get the error that the build failed because a file list doesn't exist. Is it referring to the files.txt file? I've created that per the instructions.

Here is my Sublime text 2 project file:

    {
    "folders":
    [
        {
            "path": "Compressed"
        }
    ],
    "settings":
    {
        "Combine: FileList": "/C/Users/b/Desktop/Shopify/scripts/Compressed/files.txt",
        "Combine: InPath": "/C/Users/b/Desktop/Shopify/scripts/Compressed/public/js/",
        "Combine: MasterName": "master.js",
        "Combine: MinifyName": "master.min.js",
        "Combine: OutPath": "/C/Users/b/Desktop/Shopify/scripts/Compressed/private/js/"
    }
}

Am I doing something incorrectly? Please help, thanks.

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.