New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

parcel-plugin-html-root-syntax

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parcel-plugin-html-root-syntax

``` npm install parcel-plugin-html-root-syntax ```

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

parcel-plugin-html-root-syntax

npm install parcel-plugin-html-root-syntax

Input

<link rel="stylesheet" href="#/base.css">
<script src="#/config.js"></script>

Output

<link rel="stylesheet" href="/base.css">
<script src="/config.js"></script>

Why?

Parcel will try to bundle any script or link tag with an absolute or relative path in a html entry file. Parcel will ignore paths prefixed with # and this plugin cleans up the paths when bundled.

See more

FAQs

Package last updated on 01 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts