-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
dist/ | ||
|
||
node_modules | ||
*.vsix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import path from "path"; | ||
|
||
import { rollup } from "rollup"; | ||
|
||
const PATH_ROOT = path.resolve(__dirname, ".."); | ||
const PATH_SOURCE = path.resolve(PATH_ROOT, "next/source"); | ||
const PATH_DIST = path.resolve(PATH_ROOT, "next/dist"); | ||
|
||
const inputOptions = { | ||
input: path.resolve(PATH_SOURCE, "index.js"), | ||
} | ||
|
||
const outputOptions = { | ||
file: path.resolve(PATH_DIST, "index.js"), | ||
format: "cjs" | ||
} | ||
|
||
async function build() { | ||
const bundle = await rollup(inputOptions); | ||
await bundle.write(outputOptions); | ||
} | ||
|
||
build(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// const initCommands = require("./commands.js"); | ||
// const initTreeview = require("./treeview.js"); | ||
|
||
export function activate(context) { | ||
// initTreeview(context); | ||
// initCommands(context); | ||
} | ||
|
||
export function deactivate() { | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters