Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@web/dev-server

Package Overview
Dependencies
Maintainers
7
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/dev-server - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/esbuildPlugin.d.ts

8

CHANGELOG.md
# @web/dev-server
## 0.0.4
### Patch Changes
- 6694af7: added esbuild-target flag
- Updated dependencies [e83ac30]
- @web/dev-server-rollup@0.2.5
## 0.0.3

@@ -4,0 +12,0 @@

1

dist/startDevServer.d.ts

@@ -7,2 +7,3 @@ import { RollupNodeResolveOptions } from '@rollup/plugin-node-resolve';

preserveSymlinks?: boolean;
esbuildTarget?: string | string[];
}

@@ -9,0 +10,0 @@ export interface DevServerCliArgsConfig extends DevServerConfig {

@@ -11,2 +11,3 @@ "use strict";

const watchPlugin_1 = require("./watchPlugin");
const esbuildPlugin_1 = require("./esbuildPlugin");
const cliOptions = [

@@ -30,2 +31,8 @@ {

{
name: 'esbuild-target',
type: String,
multiple: true,
description: 'JS language target to compile down to using esbuild. Recommended value is "auto", which compiles based on user agent. Check the docs for more options.',
},
{
name: 'debug',

@@ -53,2 +60,5 @@ description: 'Log debug messages.',

}
if (config.esbuildTarget) {
config.plugins.push(esbuildPlugin_1.esbuildPlugin(config.esbuildTarget));
}
if (config.nodeResolve) {

@@ -55,0 +65,0 @@ const userOptions = typeof config.nodeResolve === 'object' ? config.nodeResolve : undefined;

4

package.json
{
"name": "@web/dev-server",
"version": "0.0.3",
"version": "0.0.4",
"publishConfig": {

@@ -50,3 +50,3 @@ "access": "public"

"@web/dev-server-core": "^0.2.6",
"@web/dev-server-rollup": "^0.2.4",
"@web/dev-server-rollup": "^0.2.5",
"chalk": "^4.1.0",

@@ -53,0 +53,0 @@ "command-line-args": "^5.1.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc