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

No Support for .cur cursor file loading #2733

Closed
kgathi2 opened this Issue Oct 16, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@kgathi2

kgathi2 commented Oct 16, 2016

Please provide us with the following information:

OS?

Mac OSX El Capitan

Versions.

version` and paste the result here:
angular-cli: 1.0.0-beta.15
node: 5.10.0
os: darwin x64

Repro steps.

In a new project, add stylesheet referencing .cur cursor file
curs.zip

    .left{
        cursor: url("assets/img/arrow-left.png"), url("assets/img/arrow-left.cur"), default !important;
    }
    .right{
        cursor: url("assets/img/arrow-right.png"), url("assets/img/arrow-right.cur"), default !important;
    }

The log given by the failure.

Normally this include a stack trace and some more information.

ERROR in ./src/assets/img/arrow-right.cur
Module parse failed: /Users/superman/ngapp/src/assets/img/arrow-right.cur Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
 @ ./~/css-loader!./~/postcss-loader!./~/sass-loader!./src/styles.scss 6:103859-103898
 @ ./src/styles.scss
 @ multi styles

ERROR in ./src/assets/img/arrow-left.cur
Module parse failed: /Users/superman/ngapp/src/assets/img/arrow-left.cur Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
 @ ./~/css-loader!./~/postcss-loader!./~/sass-loader!./src/styles.scss 6:103697-103735
 @ ./src/styles.scss
 @ multi styles

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

@hansl hansl modified the milestone: RC1 Nov 11, 2016

buchslava added a commit to buchslava/angular-cli that referenced this issue Jan 31, 2017

@hansl hansl closed this in 85bc88a Feb 8, 2017

MRHarrison added a commit to MRHarrison/angular-cli that referenced this issue Feb 9, 2017

asnowwolf added a commit to asnowwolf/angular-cli that referenced this issue Apr 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment