Skip to content
Snippets Groups Projects
Verified Commit e9da3ff9 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add browse rentrypoint that does not use widget API

parent 3eda5504
No related branches found
No related tags found
No related merge requests found
Pipeline #7283 passed
/* Copyright 2021 Dominik George <nik@naturalnet.de>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import Game from './frontend/game';
const width = 800;
const height = 600;
let game = new Game(width, height, backend);
...@@ -3,7 +3,8 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); ...@@ -3,7 +3,8 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = { module.exports = {
entry: { entry: {
widget: './src/widget.js' widget: './src/widget.js',
browser: './src/browser.js'
}, },
plugins: [ plugins: [
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment