source: trip-planner-front/node_modules/less/test/test-es6.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 336 bytes
RevLine 
[6a3a178]1// https://github.com/less/less.js/issues/3533
2console.log('Testing ES6 imports...')
3
4import less from '..';
5let lessRender = less.render;
6
7// then I call lessRender on something
8let y = lessRender(`
9body {
10 a: 1;
11 b: 2;
12 c: 30;
13 d: 4;
14}`, {sourceMap: {}}, function(error, output) {
15 if (error)
16 console.error(error)
17})
Note: See TracBrowser for help on using the repository browser.