remove public/dev.html in favor of index.html
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"url": "https://github.com/standardnotes/web"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server",
|
||||
"start": "webpack-dev-server --progress",
|
||||
"bundle": "webpack --mode production",
|
||||
"build": "bundle install && npm install && npm run bundle",
|
||||
"submodules": "git submodule update --init --force --remote",
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
<!-- <!DOCTYPE html> -->
|
||||
<html ng-app="app">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
|
||||
<link href="favicon/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
|
||||
<link href="favicon/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png">
|
||||
<link href="favicon/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png">
|
||||
<link href="favicon/site.webmanifest" rel="manifest">
|
||||
<link color="#5bbad5" href="favicon/safari-pinned-tab.svg" rel="mask-icon">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<meta ng-bind="title" content="Standard Notes" name="apple-mobile-web-app-title">
|
||||
<meta ng-bind="title" content="Standard Notes" name="application-name">
|
||||
|
||||
<title>Notes · Standard Notes</title>
|
||||
|
||||
<script>
|
||||
window._default_sf_server = "https://sync.standardnotes.org";
|
||||
window._extensions_manager_location = "extensions/extensions-manager/dist/index.html";
|
||||
window._batch_manager_location = "extensions/batch-manager/dist/index.min.html";
|
||||
</script>
|
||||
|
||||
<!-- Generated files -->
|
||||
<link rel="stylesheet" media="all" href="stylesheets/app.css">
|
||||
<script src="javascripts/app.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<root />
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -8,7 +8,12 @@ module.exports = {
|
||||
filename: './javascripts/app.js'
|
||||
},
|
||||
devServer: {
|
||||
contentBase: path.resolve(__dirname, 'public'),
|
||||
proxy: {
|
||||
'/extensions': {
|
||||
target: 'http://localhost:3000',
|
||||
pathRewrite: { '^/extensions': '/public/extensions' }
|
||||
}
|
||||
},
|
||||
port: 3000
|
||||
},
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user