javascript - How to import special less file form another meteor package? -


for example, want import @gray-lighter color less file varables.less twbs:bootstrap package how loading.less file is:

@import 'bootstrap.variables.less';  .loading { padding: 48px 0; text-align: center;  {   color: @gray-lighter; } } 

but there error:

c:\users\sheng\appdata\local\.meteor\packages\meteor-tool\1.1.10\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fibers\future.js:245                                             throw(ex);                                                   ^ error: eperm, unlink 'g:\workspace\meteor-admin-lte\.meteor\local\build\programs' @ object.future.wait (c:\users\sheng\appdata\local\.meteor\packages\meteor-tool\1.1.10\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fibers\future.js:398:15) @ object.rm_recursive (c:\tools\fs\files.js:270:9) @ object.files.rename (c:\tools\fs\files.js:1406:13) @ object.files.renamediralmostatomically (c:\tools\fs\files.js:812:11) @ builder.complete (c:\tools\isobuild\builder.js:571:13) @ c:\tools\isobuild\bundler.js:1993:13 @ c:\tools\isobuild\bundler.js:2010:7 @ c:\tools\isobuild\bundler.js:2287:22 @ c:\tools\utils\buildmessage.js:268:13 @ [object object]._.extend.withvalue (c:\tools\utils\fiber-helpers.js:114:14) @ c:\tools\utils\buildmessage.js:261:29 @ [object object]._.extend.withvalue (c:\tools\utils\fiber-helpers.js:114:14) @ c:\tools\utils\buildmessage.js:259:18 @ [object object]._.extend.withvalue (c:\tools\utils\fiber-helpers.js:114:14) @ c:\tools\utils\buildmessage.js:250:23 @ [object object]._.extend.withvalue (c:\tools\utils\fiber-helpers.js:114:14) @ object.capture (c:\tools\utils\buildmessage.js:249:19) @ object.exports.bundle (c:\tools\isobuild\bundler.js:2128:31) @ c:\tools\runners\run-app.js:551:36 @ time (c:\tools\tool-env\profile.js:232:28) @ function.run (c:\tools\tool-env\profile.js:377:12) @ bundleapp (c:\tools\runners\run-app.js:541:34) @ [object object]._.extend._runonce (c:\tools\runners\run-app.js:594:35) @ [object object]._.extend._fiber (c:\tools\runners\run-app.js:858:28) @ c:\tools\runners\run-app.js:396:12 - - - - - 

https://atmospherejs.com/twbs/bootstrap meteor package don't use less files. these .css , .js files , should added app when add package. if need less files want create own build or find other package.

as can se here: https://github.com/twbs/bootstrap/blob/master/package.js there 2 files added + fonts.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -