mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
lint fixes
This commit is contained in:
parent
c0b0ef0200
commit
bce686d779
1 changed files with 9 additions and 9 deletions
|
|
@ -1,13 +1,13 @@
|
|||
const path = require("path");
|
||||
const path = require('path');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
|
||||
let imageSizeLimit = 9999999999999999;
|
||||
let sourceDir = path.resolve(__dirname, "src");
|
||||
let buildDir = path.resolve(__dirname, "build");
|
||||
let sourceDir = path.resolve(__dirname, 'src');
|
||||
let buildDir = path.resolve(__dirname, 'build');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
index: path.resolve(sourceDir, "main.js")
|
||||
index: path.resolve(sourceDir, 'main.js')
|
||||
},
|
||||
output: {
|
||||
path: buildDir,
|
||||
|
|
@ -30,7 +30,7 @@ module.exports = {
|
|||
test: /\.(png|gif|jpg|woff2?|eot|ttf|otf|svg)(\?.*)?$/i,
|
||||
use: [
|
||||
{
|
||||
loader: "url-loader",
|
||||
loader: 'url-loader',
|
||||
options: {
|
||||
limit: imageSizeLimit
|
||||
}
|
||||
|
|
@ -43,12 +43,12 @@ module.exports = {
|
|||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: path.resolve(sourceDir, "main.css"),
|
||||
to: path.resolve(buildDir, "main.css")
|
||||
from: path.resolve(sourceDir, 'main.css'),
|
||||
to: path.resolve(buildDir, 'main.css')
|
||||
},
|
||||
{
|
||||
from: path.resolve(sourceDir, "index.html"),
|
||||
to: path.resolve(buildDir, "index.html")
|
||||
from: path.resolve(sourceDir, 'index.html'),
|
||||
to: path.resolve(buildDir, 'index.html')
|
||||
},
|
||||
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue