How to use the @jupyterlab/extension-builder.buildExtension function in @jupyterlab/extension-builder

To help you get started, we’ve selected a few @jupyterlab/extension-builder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyter-widgets / ipywidgets / jupyterlab_widgets / scripts / buildExtension.js View on Github external
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

var path = require('path');

var buildExtension = require('@jupyterlab/extension-builder').buildExtension;

buildExtension({
  name: 'jupyterlab_widgets',
  entry: './lib/plugin',
  outputDir : './jupyterlab_widgets/static'
});
github jupyter-attic / jupyterlab_geojson / scripts / build_extension.js View on Github external
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

var buildExtension = require('@jupyterlab/extension-builder').buildExtension;

buildExtension({
        name: 'jupyterlab_geojson',
        entry: './lib/plugin.js',
        outputDir: './jupyterlab_geojson/static'
});
github jupyter-attic / jupyterlab_json / labextension / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;
var path = require('path');

buildExtension({
  name: 'jupyterlab_json',
  entry: path.join(__dirname, 'src', 'plugin.js'),
  outputDir: path.join(
    __dirname,
    '..',
    'jupyterlab_json',
    'static'
  ),
  useDefaultLoaders: false,
  config: {
    module: {
      loaders: [
        { test: /\.html$/, loader: 'file-loader' },
github altair-viz / jupyter_vega / labextension / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;
var path = require('path');

buildExtension({
  name: 'jupyterlab_vega',
  entry: path.join(__dirname, 'src', 'plugin.js'),
  outputDir: path.join(
    __dirname,
    '..',
    'jupyterlab_vega',
    'static'
  ),
  useDefaultLoaders: false,
  config: {
    module: {
      loaders: [
        { test: /\.html$/, loader: 'file-loader' },
github gnestor / jupyterlab_plotly / labextension / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;
var path = require('path');

buildExtension({
  name: 'jupyterlab_plotly',
  entry: path.join(__dirname, 'src', 'plugin.js'),
  outputDir: path.join(__dirname, '..', 'jupyterlab_plotly', 'static'),
  useDefaultLoaders: false,
  config: {
    module: {
      loaders: [
        { test: /\.html$/, loader: 'file-loader' },
        { test: /\.(jpg|png|gif)$/, loader: 'file-loader' },
        {
          test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
          loader: 'url-loader?limit=10000&mimetype=application/font-woff'
        },
github jupyter-attic / jupyterlab_geojson / labextension / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;
var path = require('path');

buildExtension({
  name: 'jupyterlab_geojson',
  entry: path.join(__dirname, 'src', 'plugin.js'),
  outputDir: path.join(
    __dirname,
    '..',
    'jupyterlab_geojson',
    'static'
  ),
  useDefaultLoaders: false,
  config: {
    module: {
      loaders: [
        { test: /\.html$/, loader: 'file-loader' },
github jupyterlab / extension-cookiecutter-js / {{cookiecutter.extension_name}} / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;

buildExtension({
        name: '{{ cookiecutter.extension_name }}',
        entry: './lib/plugin.js',
        outputDir: './{{ cookiecutter.extension_name }}/static'
});
github gnestor / jupyterlab_table / labextension / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;
var path = require('path');

buildExtension({
  name: 'jupyterlab_table',
  entry: path.join(__dirname, 'src', 'plugin.js'),
  outputDir: path.join(
    __dirname,
    '..',
    'jupyterlab_table',
    'static'
  ),
  useDefaultLoaders: false,
  config: {
    module: {
      loaders: [
        { test: /\.html$/, loader: 'file-loader' },
github jupyter-attic / jupyterlab_json / labextension / scripts / build_extension.js View on Github external
var buildExtension = require('@jupyterlab/extension-builder').buildExtension;

buildExtension({
  name: 'jupyterlab_json',
  entry: './lib/plugin.js',
  outputDir: '../jupyterlab_json/static'
});

@jupyterlab/extension-builder

Tools for building JupyterLab extensions

BSD-3-Clause
Latest version published 7 years ago

Package Health Score

67 / 100
Full package analysis

Similar packages