inline.js | Live CSS Helpers with Javascript

 by   joni2back JavaScript Version: Current License: MIT

kandi X-RAY | inline.js Summary

kandi X-RAY | inline.js Summary

inline.js is a JavaScript library typically used in Utilities, React, Webpack applications. inline.js has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Live CSS Helpers with Javascript
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              inline.js has a low active ecosystem.
              It has 36 star(s) with 4 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of inline.js is current.

            kandi-Quality Quality

              inline.js has 0 bugs and 0 code smells.

            kandi-Security Security

              inline.js has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              inline.js code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              inline.js is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              inline.js releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of inline.js
            Get all kandi verified functions for this library.

            inline.js Key Features

            No Key Features are available at this moment for inline.js.

            inline.js Examples and Code Snippets

            No Code Snippets are available at this moment for inline.js.

            Community Discussions

            QUESTION

            Is angular-cli's --output-hashing always supposed to work with lazily loaded modules?
            Asked 2020-Feb-27 at 16:17

            I thought I have been successfully cache busting with angular-cli's --output-hashing option set to all to ensure users get the latest chunks/updates. I realized this isn't always working for lazily-loaded modules.

            If I make changes only to a lazily-loaded module + build + deploy to IIS, AND go to a URL that belongs to the lazily-loaded module, then I get the latest changes as expected.

            However, if I close and re-open the browser and go to a URL that does not belong to the lazily-loaded module, and then click to a link that takes me to the lazily-loaded module, the latest changes are not observed.

            It's almost as if browser is assuming nothing is changed whenever I enter the app from a module that hasn't changed, and doesn't pick up the new chunk later when I visit the module that is changed.

            Even stranger, when I tried to replicate the issue to provide some screenshots, the issue went away.

            Has anyone else experienced inconsistency with cache busting using output-hashing?

            Edit:

            After investigating some more, it turns out that if I go to the landing page of my site [IP address]:[port], then the index.html comes from the cache.

            Instead, if I go to any other route [IP address]:[port]/[route], then the index.html comes from the server.

            Since index.html points to inline.(hash).bundle.js, which in return points to lazily-loaded modules, getting the old copy of index.html results in getting old versions of inline.js and other modules.

            I tried to add to index.html and cleared browser cache, and still got the file from cache.

            I also tried adding a section into web.config, but this did not work either.

            How to ensure index.html always comes from the server?

            ...

            ANSWER

            Answered 2020-Feb-27 at 16:17

            Your answer can be found in this SO related question, which outlines how to set up IIS to set the cache settings for the index.html file: How to disable caching of single page application HTML file served through IIS?

            Additionally based on the Mozilla Docs, you should set the Cache-Control header to this: no-cache, no-store, must-revalidate

            As for the cause of this issue, when Angular is generating the output bundle, it will create JS filenames that will uniquely identify the current version of that file if told to use output hashing (i.e. they create a hash of the file contents and include this in the filename so that browsers do not serve up the cached version of these updated files: js-filename.[hash of content].js instead of just js-filename.js). The problem with this is that the browsers will also serve up the cached version of the index.html file that Angular generates, which will point to the old version of the JS files.

            To resolve this issue, you must set up your web server to set the appropriate Cache-Control setting (outlined above) on the index.html file so that the browser never caches this file.

            Source https://stackoverflow.com/questions/49267451

            QUESTION

            styles.css and scripts.js files not loading under CNAME
            Asked 2020-Jan-27 at 22:32

            I have Angular app working under under one domain properly, but when trying to open under other domain, scripts.js and styles.css files are not loaded.

            All the other files such as main.js, polyfills.js or inline.js are loaded properly.

            Example of requests for comparison from nginx logs:

            working:

            ...

            ANSWER

            Answered 2020-Jan-27 at 22:32

            Everything in app was setup properly, third party CNAME service provider confirmed issues.

            Source https://stackoverflow.com/questions/59936855

            QUESTION

            How can a controller respond with an action to redirect from another website in Ruby
            Asked 2019-Nov-23 at 10:52

            I am a newbie in ruby. I want to post a form data which includes an API key and some other field data to another website which will verify and send an http response 200 or 400 to my website. If I am able to connect to the api, the website responds with a URL redirect to my website with additional query string which my website will respond to. I don't how to do the following:

            How to make my site respond to the redirect I get from the website through a controller and action. Assuming the controller is:

            ...

            ANSWER

            Answered 2019-Nov-23 at 10:52

            This is just the basics of how to post a form to an external website. You'll have to fill in the details yourself since I have no clue what the external website does or what that script is supposed to accomplish.

            Setting up a form to post to a remote url is pretty easy:

            Source https://stackoverflow.com/questions/59006125

            QUESTION

            Gulp-concat not working at all - writing all base files instead of one
            Asked 2019-Aug-11 at 11:34

            I'm pulling out my hairs on this one, everything seems to be OK - as docs stated

            ...

            ANSWER

            Answered 2019-Aug-11 at 11:34

            Try to chain .pipe calls as follows:

            Source https://stackoverflow.com/questions/57449130

            QUESTION

            Angular: when ran “ng serve”, then error “webpack: Failed to compile.”
            Asked 2019-Apr-07 at 04:01

            I use mac ox (10.11.6), and tried to learn Angular. I installed node.js, typescript and angular-cli, and every thing works well.

            However, when I ran "ng serve", they always popped out the error message“webpack: Failed to compile”. Can somebody help me out?

            Qiangs-MacBook-Pro:src qiangcao$ ng serve

            ** NG Live Development Server is running on http://localhost:4200. ** 10% building modules 5/8 modules 3 active ...s/webpack-dev-server/client/socket.js(node:84417) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56 parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

            8083ms building modules 4ms add0m155ms2550ms asset80ms

            emittinggHash: 3f9353293ca829d9b9e1

            Version: webpack 2.1.0-beta.25

            Time: 11373ms Asset Size Chunks Chunk Names main.bundle.js 2.74 MB 0, 2 [emitted] main

            styles.bundle.js 9.98 kB 1, 2 [emitted] styles inline.js 5.53 kB 2 [emitted] inline main.map 2.79 MB 0, 2 [emitted] main styles.map 13.4 kB 1, 2 [emitted] styles inline.map 5.55 kB 2 [emitted] inline index.html 485 bytes [emitted]

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:126:37 A parameter initializer is only allowed in a function or constructor implementation.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:126:45 Cannot find name 'keyof'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:126:51 '=' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:134:45 A parameter initializer is only allowed in a function or constructor implementation.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:134:55 Cannot find name 'keyof'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:134:61 '=' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:29 ',' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:46 ';' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:67 Cannot find name 'ReadonlyArray'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:89 '(' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:91 The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:93 Cannot find name 'methodName'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:103 ']' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:105 Cannot find name 'string'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:111 ',' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:112 Property assignment expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:120 ')' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:123 Cannot find name 'ReadonlyArray'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:137 Cannot find name 'keyof'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:143 ')' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:143 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:143 The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:146 Expression expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:148 The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:149 A computed property name must be of type 'string', 'number', 'symbol', or 'any'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:150 Cannot find name 'P'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:155 Cannot find name 'keyof'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:161 ']' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:161 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:162 ',' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:163 Property assignment expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:164 Property assignment expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:178 ',' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:179 Cannot find name 'P'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:182 ':' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:207 '{' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:216 ':' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:216 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:218 Cannot find name 'P'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:221 ',' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:223 An object literal cannot have multiple properties with the same name in strict mode.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:226 ':' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:227 Expression expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:142:228 ';' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:154:41 Cannot find name 'Partial'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:157:57 Generic type 'SpyObjMethodNames' requires 2 type argument(s).

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:158:60 Generic type 'SpyObjMethodNames' requires 2 type argument(s).

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:160:39 Generic type 'SpyObjMethodNames' requires 2 type argument(s).

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:161:42 Generic type 'SpyObjMethodNames' requires 2 type argument(s).

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:198:21 Cannot find name 'Partial'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:198:34 Cannot find name 'Partial'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:575:12 Invalid use of 'arguments'. Modules are automatically in strict mode.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:8 A computed property name must be of type 'string', 'number', 'symbol', or 'any'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:9 Cannot find name 'k'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:14 Cannot find name 'keyof'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:20 ']' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:20 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:21 ';' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:22 Declaration or statement expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:24 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:26 Cannot find name 'k'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:29 ';' expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:48 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:50 Cannot find name 'k'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:55 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:61 Cannot find name 'T'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:635:63 Cannot find name 'k'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:642:23 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:644:31 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:646:40 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:648:32 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:650:33 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:652:16 Cannot find name 'Spy'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:691:36 Cannot find name 'Reporter'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:697:20 Cannot find name 'RunDetails'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:701:18 Cannot find name 'Suite'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:702:32 Cannot find name 'SuiteOrSpec'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:711:14 Cannot find name 'Spec'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:712:15 Cannot find name 'Clock'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:716:29 Cannot find name 'HtmlReporter'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:717:31 Cannot find name 'HtmlSpecFilter'.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:720:0 Declaration or statement expected.

            ERROR in [default] /Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index.d.ts:725:25 Module '"/Users/qiangcao/angular2_hello_world/node_modules/@types/jasmine/index".jasmine' has no exported member 'Jasmine'. Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 2.94 kB 0 webpack: Failed to compile.

            ...

            ANSWER

            Answered 2019-Apr-07 at 03:57

            from the comments above:

            • You have a deprecated version of angular (ref:npmjs.com/package/angular-cli/v/1.0.0-beta.18)... npm uninstall @angular/cli then npm install @angular/cli@latest

            on your comment about getting the old angular/cli version to work:

            • The old version might not work with newer npm and node... if you really want to get the old version working, i'd suggest go to a test machine and install relevant npm and node and angular/cli versions of the same time period as angular-cli version 1.0.0-beta.18

            Source https://stackoverflow.com/questions/55554911

            QUESTION

            perl lazy match external file with regular expression
            Asked 2019-Mar-03 at 17:55

            I have an index.html file that contains a string like:

            vendor.adsf34.bundle.js blah blah inline.1r34afer.bundle.js

            I've built the following code (mac, iterm2):

            ...

            ANSWER

            Answered 2019-Mar-03 at 17:55

            Something like this maybe?

            • look for a fixed start string (vendor. or inline.) 1
            • look for one-or-more non-space characters
            • look for a fixed end string (.js)
            • replace it with 1 + .js

            Source https://stackoverflow.com/questions/54971791

            QUESTION

            Leveraging browser cache with CloudFlare enabled
            Asked 2018-Nov-16 at 03:27

            Here's a snippet of my .htaccess file:

            ...

            ANSWER

            Answered 2017-Mar-02 at 16:11

            EDIT: The answer ended up being a conflict between CloudFlare and the .htaccess file. The comments on this post discuss the troubleshooting and resolution of this issue.

            I ran this resource through pingdom's tools to see what the request/response looked like.

            https://tools.pingdom.com/#!/d8QPQx/http://www.peppyburro.com/sandboxassets/js/burroinline.js

            It is in fact not being cached. The header is set to no-cache.

            "no-cache" indicates that the returned response can't be used to satisfy a subsequent request to the same URL without first checking with the server if the response has changed. As a result, if a proper validation token (ETag) is present, no-cache incurs a roundtrip to validate the cached response, but can eliminate the download if the resource has not changed.

            Source: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching

            The response from the server is:

            Source https://stackoverflow.com/questions/42534067

            QUESTION

            Angular CLI adding hashed code internally in vendor.js file while running the build
            Asked 2018-Sep-26 at 14:48

            When I am running the npm run build then the Angular CLI is giving me the 5 different bundled files like main.js, Inline.js, polyfills.js, styles.js, vendor.js

            So inside the vendor.js file I can see something like main.234bhasd42341234 and because of this the file is not getting render properly. It gives unexpected token error.

            Let me know If anyone is having any solution for this.

            ...

            ANSWER

            Answered 2018-Sep-26 at 14:48

            It was a gulp task issue. If we hash any file with gulp it check the refrence of every occurrence of a text and if its match then it will add a hash code to it.So I rewrite my gulp task again and its solved my problem.

            Source https://stackoverflow.com/questions/47531422

            QUESTION

            Salesforce lightning out
            Asked 2018-Sep-05 at 20:53

            I am trying to use Salesforce component from external page. I proceed this manual: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/lightning_out_public_apps.htm but still have errors and nothing rendered. I have 404 for inline.js and bootstrap.css.

            My code:

            ...

            ANSWER

            Answered 2018-Sep-05 at 20:53

            Try the following:

            First and foremost, You to need implement a mechanism to fire the script on page load. Use the following,

            Source https://stackoverflow.com/questions/51965019

            QUESTION

            Prevent duplication with webpack splitChunks
            Asked 2018-Aug-06 at 10:07

            I'm struggling with splitChunks and I can't seem to find any suitable answers on similar posted questions. Perhaps my approach is incorrect.

            I would like to remove an array of common modules from my core bundle (ui.js) and put them in a separate file (inline.js).

            webpack.config.js:

            ...

            ANSWER

            Answered 2018-Aug-06 at 10:07

            Unfortunately this hasn't had much response. After trying to understand the documentation and testing every configuration option possible, I've come up with a workaround so I will post it incase anyone has similar problems. Please bear in mind, this is a workaround and I will update if I ever find the right approach.

            My optimisation configuration object now looks like the following:

            Source https://stackoverflow.com/questions/51660312

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install inline.js

            You can download it from GitHub.

            Support

            To contribute to the project you can simply fork this repo, then do a pull request.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/joni2back/inline.js.git

          • CLI

            gh repo clone joni2back/inline.js

          • sshUrl

            git@github.com:joni2back/inline.js.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by joni2back

            angular-filemanager

            by joni2backJavaScript

            react-filemanager

            by joni2backJavaScript

            spachat

            by joni2backPHP

            pong-multiplayer

            by joni2backPython

            pump-it-letter

            by joni2backJavaScript