Tuesday, 15 September 2015

javascript - SCRIPT1002: Syntax error in CSS when bundling -



javascript - SCRIPT1002: Syntax error in CSS when bundling -

i trying bundle css below.

bundles.add(new stylebundle("~/content/css").include( "~/content/styles.css"));

but when run code this.

javascript critical error @ line 1, column 1 in http://localhost:49934/content/css?v=8i6_j_wgn_9ynhfgu_-n-r8ya98jn2nc600cblm8vbm1 script1002: syntax error

assuming css had funny characters or invalid paths, removed except below. still did not work

.full { height: 100%; } .content { padding-top: 52px; padding-right: 10px; padding-left: 55px; width: 100%; }

when disable bundling, add together link usual way below, works

<link href="~/content/styles.css" rel="stylesheet" type="text/css" />

i googled , of links talk javascript error in javascript. dont know why getting javascript error in css.

any help appreciated.

javascript css twitter-bootstrap bundling-and-minification

No comments:

Post a Comment