Skip to content

Commit c12cc8e

Browse files
FIX: lint issue
1 parent 6f55a3f commit c12cc8e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

webpack.config.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
const path = require("path");
1+
const path = require('path');
22

3-
const library = "OpenBCIUtilities";
4-
const librarySnakeCase = "openbci-utilities";
5-
const libraryExport = "default";
3+
const library = 'OpenBCIUtilities';
4+
const librarySnakeCase = 'openbci-utilities';
5+
const libraryExport = 'default';
66

77
const config = {
88
entry: {
9-
[librarySnakeCase]: "./src/index.js",
10-
utilities: "./src/utilities.js",
11-
constants: "./src/constants.js",
12-
debug: "./src/debug.js"
9+
[librarySnakeCase]: './src/index.js',
10+
utilities: './src/utilities.js',
11+
constants: './src/constants.js',
12+
debug: './src/debug.js'
1313
},
1414
module: {
1515
rules: [
1616
{
1717
test: /\.js$/,
1818
exclude: /(node_modules)/,
1919
use: {
20-
loader: "babel-loader"
20+
loader: 'babel-loader'
2121
}
2222
}
2323
]
2424
},
25-
devtool: "eval",
25+
devtool: 'eval',
2626
devServer: {
2727
compress: true,
2828
port: 9000
@@ -32,7 +32,7 @@ const config = {
3232
const exportLibraryTarget = (libraryTarget, name) =>
3333
Object.assign({}, config, {
3434
output: {
35-
path: path.resolve(__dirname, "dist"),
35+
path: path.resolve(__dirname, 'dist'),
3636
filename: `${name}.js`,
3737
library,
3838
libraryTarget,
@@ -41,6 +41,6 @@ const exportLibraryTarget = (libraryTarget, name) =>
4141
});
4242

4343
module.exports = [
44-
exportLibraryTarget("umd", "[name]"),
45-
exportLibraryTarget("var", "[name].var")
44+
exportLibraryTarget('umd', '[name]'),
45+
exportLibraryTarget('var', '[name].var')
4646
];

0 commit comments

Comments
 (0)