Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdn is not supporting for .js file #77

Open
ds-manish opened this issue Jun 14, 2017 · 1 comment
Open

cdn is not supporting for .js file #77

ds-manish opened this issue Jun 14, 2017 · 1 comment

Comments

@ds-manish
Copy link

Code

cdn: {
      options: {
        /** @required - root URL of your CDN (may contains sub-paths as shown below) */
        cdn: 'https://cdn.domain.com',
        /** @optional  - if provided both absolute and relative paths will be converted */
        flatten: true,
        /** @optional  - if provided will be added to the default supporting types */
        // supportedTypes: { 'phtml': 'html', 'js': 'js' }
      },
      dist: {
        /** @required  - gets sources here, may be same as dest  */
        cwd: './dist/',
        /** @required  - puts results here with respect to relative paths  */
        dest: './dist/',
        /** @required  - files to process */
        src: ['index.html'],
      }
    },

output

cdn:html - index.html
unrecognized extension:js - inline.bundle.js
@ds-manish
Copy link
Author

also .js is added in supportedTypes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant