Switch to bundle.js filename

This commit is contained in:
ronreg-ribdev 2020-11-29 12:11:31 -08:00
parent 22a30d10ce
commit b8ca52655f
4 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ export class Root extends Component {
<Route exact path="/~browsermanager" render={ () => { <Route exact path="/~browsermanager" render={ () => {
return ( return (
<Box height='100%' p='4' display='flex' flexDirection='column' borderWidth={['none', '1px']} borderStyle="solid" borderColor="washedGray"> <Box height='100%' p='4' display='flex' flexDirection='column' borderWidth={['none', '1px']} borderStyle="solid" borderColor="washedGray">
<Text fontSize='1'>browsermanager</Text> <Text fontSize='1'>Browser Manager</Text>
<Text pt='3'>Websites tracked:</Text> <Text pt='3'>Websites tracked:</Text>
</Box> </Box>
)}} )}}

View File

@ -10,6 +10,6 @@
<div id="root" /> <div id="root" />
<script src="/~landscape/js/channel.js"></script> <script src="/~landscape/js/channel.js"></script>
<script src="/~landscape/js/session.js"></script> <script src="/~landscape/js/session.js"></script>
<script src="/~browsermanager/js/index.js"></script> <script src="/~browsermanager/js/bundle.js"></script>
</body> </body>
</html> </html>

View File

@ -106,8 +106,8 @@ module.exports = {
], ],
watch: true, watch: true,
output: { output: {
filename: 'index.js', filename: 'bundle.js',
chunkFilename: 'index.js', chunkFilename: 'bundle.js',
path: path.resolve('./urbit/app/browsermanager/js'), path: path.resolve('./urbit/app/browsermanager/js'),
publicPath: '/' publicPath: '/'
}, },

View File

@ -46,7 +46,7 @@ module.exports = {
new CleanWebpackPlugin() new CleanWebpackPlugin()
], ],
output: { output: {
filename: 'index.js', filename: 'bundle.js',
path: path.resolve(__dirname, `${urbitrc.URBIT_PIERS[0]}/app/browsermanager/js`), path: path.resolve(__dirname, `${urbitrc.URBIT_PIERS[0]}/app/browsermanager/js`),
publicPath: '/', publicPath: '/',
}, },