Skip to content

Resolve ~ paths to node_modules #31

@Ciantic

Description

@Ciantic

The blueprintjs framework has SCSS variables file located in:

node_modules\@blueprintjs\core\dist\variables.scss

I can't seem to import it so that it can be used in auto-completions.

I've tried:

// <reference path="../node_modules/@blueprintjs/core/dist/variables.scss" />
// and
@import "~@blueprintjs/core/dist/variables.scss"; // This is webpack's way of importing things from node_modules, this would be ideal to support
// and
@import "../node_modules/@blueprintjs/core/dist/variables.scss";

None of the above work, I just cant get the code completion to work.

Any ideas how I could? There is a lot of variables there I need constantly.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions