Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// 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;
// 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;
let config = require("quip-apps-webpack-config");
config.entry = ["./src/isReactComponentPolyfill.js", ...config.entry];
let loaders = config.module.loaders;
loaders.unshift({
test: /\.(eot|woff|woff2|ttf)$/,
loader: "file-loader?name=assets/fonts/webfonts/[name].[ext]",
});
config.module.loaders = loaders;
module.exports = config;
let config = require("quip-apps-webpack-config");
config.entry = ["./src/isReactComponentPolyfill.js", ...config.entry];
let loaders = config.module.loaders;
loaders.unshift({
test: /\.(eot|woff|woff2|ttf)$/,
loader: "file-loader?name=assets/fonts/webfonts/[name].[ext]",
});
config.module.loaders = loaders;
module.exports = config;
let config = require("quip-apps-webpack-config");
config.entry = ["./src/isReactComponentPolyfill.js", ...config.entry];
let loaders = config.module.loaders;
loaders.unshift({
test: /\.(eot|woff|woff2|ttf)$/,
loader: "file-loader?name=assets/fonts/webfonts/[name].[ext]",
});
config.module.loaders = loaders;
module.exports = config;
let config = require("quip-apps-webpack-config");
config.entry = ["./src/isReactComponentPolyfill.js", ...config.entry];
let loaders = config.module.loaders;
loaders.unshift({
test: /\.(eot|woff|woff2|ttf)$/,
loader: "file-loader?name=assets/fonts/webfonts/[name].[ext]",
});
config.module.loaders = loaders;
module.exports = config;
let config = require("quip-apps-webpack-config");
config.entry = ["./src/isReactComponentPolyfill.js", ...config.entry];
let loaders = config.module.loaders;
loaders.unshift({
test: /\.(eot|woff|woff2|ttf)$/,
loader: "file-loader?name=assets/fonts/webfonts/[name].[ext]",
});
config.module.loaders = loaders;
module.exports = config;
let config = require("quip-apps-webpack-config");
config.entry = ["./src/isReactComponentPolyfill.js", ...config.entry];
let loaders = config.module.loaders;
loaders.unshift({
test: /\.(eot|woff|woff2|ttf)$/,
loader: "file-loader?name=assets/fonts/webfonts/[name].[ext]",
});
config.module.loaders = loaders;
module.exports = config;