How to use the quip-apps-webpack-config.output function in quip-apps-webpack-config

To help you get started, we’ve selected a few quip-apps-webpack-config 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 quip / quip-apps / packages / handleRichTextBoxKeyEventNavigation / webpack.config.js View on Github external
// Copyright 2017 Quip
const path = require("path");
const cwd = process.cwd();

let Config = require("quip-apps-webpack-config");
Config.entry = [path.resolve(cwd, "./handleRichTextBoxKeyEventNavigation.js")];
Config.output = {
    path: path.resolve(cwd, "./dist"),
    filename: "handleRichTextBoxKeyEventNavigation.js",
    libraryTarget: "umd",
    publicPath: "dist"
};

module.exports = Config;

quip-apps-webpack-config

Quip Apps Webpack Config

Apache-2.0
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis